Vtable Entity_Vtable

Describes the known functions in the Entity Vtable.

Vtable function IDs are included in the beginning of the description (in parentheses); this function ID is what must be passed to CallVtable and/or InstallVtableHook.

Functions with a typical name are those which have been investigated and/or are simple enough that the functionality could be determined without extensive reverse engineering. Note that there are no guarantees for correctness, or that there hasn't been a typo in the parameters that could cause crashes. Any failures in these functions should be reported, so that they can be fixed to allow investigation of the game behavior of that function to continue.

Functions named with "maybe" or similar are those which appear to have a certain behavior, but are not confirmed.

Functions named with just a vtable number and a rough area of effect are those which are complex and will require further investigation to determine what they are actually for.

Functions with "NoOp" in the name appear to do nothing at all.

Functions with "BROKEN" in the description or name are currently not supported by FTSE, as the parameter types could not be determined. Calling or hooking these functions is almost certain to cause a crash.

Note: If no parameters or return values are mentioned, then the function does not take any parameters or return anything.

Functions

GetRenderLightLevel (location, scale) (0) GetRenderLightLevel returns light and color information for rendering.
RenderObjectMaybe () (1) RenderObjectMaybe is BROKEN.
InitDefaultEntityFields () (2) InitDefaultEntityFields initalizes this entity's members to a default state.
SetAnimationType (param1) (3) SetAnimationType sets the current animation sequence for the entity.
UpdateSprite (param1) (4) UpdateSprite sets the current sprite for the entity.
Vtable5NoOp () (5) Vtable5NoOp
InitEntityAfterSpawn () (6) InitEntityAfterSpawn
PrepareEntity () (7) PrepareEntity does additional setup for the entity.
EraseInventory () (8) EraseInventory clears any inventory for the given entity.
MakeFreshCharacter () (9) MakeFreshCharacter resets an Actor entity to the defaults for its race.
DestructEntity () (10) DestructEntity removes the given entity from the game state.
SetDoFade () (11) SetDoFade
AliasToDestructEntity () (12) AliasToDestructEntity
SomethingWithBoundingBoxAndCollision () (13) SomethingWithBoundingBoxAndCollision
FlagCaptureFunction1 () (14) FlagCaptureFunction1
AttachNewFileToActor () (15) AttachNewFileToActor is BROKEN.
AttachNewFileToActor2 () (16) AttachNewFileToActor2
SomethingNewSpawnRelated () (17) SomethingNewSpawnRelated
Vtable18EquipRelated (param1) (18) Vtable18EquipRelated
AdjustSpriteOffsetForRotatingDoor () (19) AdjustSpriteOffsetForRotatingDoor
FinishedAnimationSequenceMaybe () (20) FinishedAnimationSequenceMaybe is called on an entity when it has finished its current animation sequence.
Vtable21NoOp () (21) Vtable21NoOp
Vtable22NoOp () (22) Vtable22NoOp
Vtable23NoOp () (23) Vtable23NoOp
RenderRelated () (24) RenderRelated is BROKEN.
CheckThinkTimers () (25) CheckThinkTimers is called whenever the game should check the status of an Entity's timers.
DoEngineThink () (26) DoEngineThink is called when the engine think timer for an Entity expires.
DoGameThink () (27) DoGameThink is called when the game think timer for an Entity expires.
SoundRelated1 (param1) (28) SoundRelated1
GetSoundType () (29) GetSoundType
SetRicochetSoundCounters (param1) (30) SetRicochetSoundCounters
SetParameterToZero () (31) SetParameterToZero
InitLightParameters (param1) (32) InitLightParameters
SetAttached (param1) (33) SetAttached
SetCustomName (param1) (34) SetCustomName
GetCustomName () (35) GetCustomName
GetDisplayName () (36) GetDisplayName
GetHealthStatusString () (37) GetHealthStatusString
Vtable38NoOpEmptyStringRet () (38) Vtable38NoOpEmptyStringRet
GetUseActionName () (39) GetUseActionName
CanBeHeldInHand () (40) CanBeHeldInHand
IsTimerMine () (41) IsTimerMine
IsTriggerTrap () (42) IsTriggerTrap
IsCollectable () (43) IsCollectable
IsSingleUseItem () (44) IsSingleUseItem
IsSkillConsumable () (45) IsSkillConsumable
IsArmour () (46) IsArmour
IsWeapon () (47) IsWeapon
IsAmmo () (48) IsAmmo
IsKey () (49) IsKey
IsContainer () (50) IsContainer
IsUnarmedAttack () (51) IsUnarmedAttack
IsMeleeAttack () (52) IsMeleeAttack
IsBaseAI () (53) IsBaseAI
IsController () (54) IsController
IsActor () (55) IsActor
IsActorUnk20Set () (56) IsActorUnk20Set
IsLight () (57) IsLight
IsVehicle () (58) IsVehicle
IsVehicleController () (59) IsVehicleController
IsVehicleWeapon () (60) IsVehicleWeapon
CanBeActivated () (61) CanBeActivated
IsDeadOrDestroyedMaybe () (62) IsDeadOrDestroyedMaybe
IsAttachedBaseAIMaybe () (63) IsAttachedBaseAIMaybe
IsLiving () (64) IsLiving
IsTrap () (65) IsTrap
IsSentryAI () (66) IsSentryAI
IsGeiger () (67) IsGeiger
IsWaypoint () (68) IsWaypoint
IsSpawnpoint () (69) IsSpawnpoint
IsAlarm () (70) IsAlarm
IsCombatFX () (71) IsCombatFX
IsSwitch () (72) IsSwitch
IsDoor () (73) IsDoor
IsGunTurret () (74) IsGunTurret
IsBrainJar () (75) IsBrainJar
IsBreakableType () (76) IsBreakableType
IsCaptureFlag () (77) IsCaptureFlag
IsTrapDoor () (78) IsTrapDoor
IsCyborgGeneral () (79) IsCyborgGeneral
IsPopupTurret () (80) IsPopupTurret
IsNotCaptureInvItem () (81) IsNotCaptureInvItem
RetTypeStringForCarryableEntity () (82) RetTypeStringForCarryableEntity
MaybeUseEntity (param1, param2) (83) MaybeUseEntity is called when the default action for an Entity is triggered.
SplitEntity (param1) (84) SplitEntity splits a Collectable into two entities.
MergeEntities (param1, param2) (85) MergeEntities
MaybeCheckingIfMergeableAndMatching (param1) (86) MaybeCheckingIfMergeableAndMatching
CanBeRemoved () (87) CanBeRemoved
SetCanBeRemovedFlag (param1) (88) SetCanBeRemovedFlag
SetBeenAppliedFlag (param1) (89) SetBeenAppliedFlag
IsUnique () (90) IsUnique
SetIsUniqueFlag (param1) (91) SetIsUniqueFlag
MeetRequirementsCheck (param1) (92) MeetRequirementsCheck
GetItemSPECIALRequired () (93) GetItemSPECIALRequired is BROKEN.
ApplyEquip (param1, param2) (94) ApplyEquip
UnApply (param1, param2) (95) UnApply
SetTrapHolder (param1) (96) SetTrapHolder
ClearHolder (param1) (97) ClearHolder
GetCount () (98) GetCount
GetCountNonLootable () (99) GetCountNonLootable
IsLootable () (100) IsLootable
SetUnk25EntityID (param1) (101) SetUnk25EntityID
GetValueBaseOfItems () (102) GetValueBaseOfItems
GetCollectableRankReq () (103) GetCollectableRankReq
GetWeight () (104) GetWeight
SetCount (param1) (105) SetCount
SetNonLootableCount (param1) (106) SetNonLootableCount
BreakEntity () (107) BreakEntity
IsBroken () (108) IsBroken
RepairEntity () (109) RepairEntity
GetTrapTotalDifficulty () (110) GetTrapTotalDifficulty
Vtable111Controller () (111) Vtable111Controller
Vtable112Controller (param1) (112) Vtable112Controller
Vtable113Controller (param1) (113) Vtable113Controller
SetControllerMoveTypePriority (param1) (114) SetControllerMoveTypePriority
SetControllerWorkingZone (param1) (115) SetControllerWorkingZone
SetControllerRetreatZone (param1) (116) SetControllerRetreatZone
SetControllerMoveTargetTag (param1) (117) SetControllerMoveTargetTag
SetControllerAggression (param1) (118) SetControllerAggression
SetControllerCommunicate (param1) (119) SetControllerCommunicate
SetControllerMobility (param1) (120) SetControllerMobility
SetControllerRandomMove (param1, param2) (121) SetControllerRandomMove
GetControllerMoveTypePriority () (122) GetControllerMoveTypePriority
GetControllerWorkingZone () (123) GetControllerWorkingZone
GetControllerRetreatZone () (124) GetControllerRetreatZone
GetControllerMoveTargetTag () (125) GetControllerMoveTargetTag
GetControllerAggression () (126) GetControllerAggression
GetControllerCommunicate () (127) GetControllerCommunicate
GetControllerMobility () (128) GetControllerMobility
GetControllerRandomMove () (129) GetControllerRandomMove
GetControllerType () (130) GetControllerType
SetControllerType (param1) (131) SetControllerType
DeactivateController () (132) DeactivateController
SetControllerWaypointModeAndMoveTargetTag (param1) (133) SetControllerWaypointModeAndMoveTargetTag
SetControllerStationary () (134) SetControllerStationary
SetControllerToPerimeterZone () (135) SetControllerToPerimeterZone
SetControllerToFollow (param1) (136) SetControllerToFollow
SetControllerToFlee () (137) SetControllerToFlee
ControllerDoSomethingWithUnitList () (138) ControllerDoSomethingWithUnitList
SetControllerUnknown4String (param1) (139) SetControllerUnknown4String
GetControllerUnknown4String () (140) GetControllerUnknown4String
ControllerWakeUpUnitList (param1) (141) ControllerWakeUpUnitList
ControllerIssueTauntForEntity (param1, param2) (142) ControllerIssueTauntForEntity
ControllerWaypointMaybeTimingRelated (param1) (143) ControllerWaypointMaybeTimingRelated
ControllerGetUnitWaypointActionString (param1) (144) ControllerGetUnitWaypointActionString
ControllerWaypointCheckingRepeatFlag (param1) (145) ControllerWaypointCheckingRepeatFlag
ControllerMoveRelated (param1, param2) (146) ControllerMoveRelated
Vtable147Controller (param1, param2) (147) Vtable147Controller
Vtable148Controller (param1) (148) Vtable148Controller
ControllerGetFromUnknownList2 (param1, param2) (149) ControllerGetFromUnknownList2
Vtable150Controller () (150) Vtable150Controller
Vtable151NoOpReturnFloat0 (param1, param2) (151) Vtable151NoOpReturnFloat0
Vtable152NoOpReturnFloat0 (param1, param2) (152) Vtable152NoOpReturnFloat0
ControllerMoreMoveRelated (param1, param2) (153) ControllerMoreMoveRelated
ControllerWaypointStuff (param1) (154) ControllerWaypointStuff
ControllerSomethingAboutTookDamage (param1) (155) ControllerSomethingAboutTookDamage
Vtable156Controller (param1, param2) (156) Vtable156Controller
ControllerUsesWorkingZoneAndMoveType (param1, param2, param3) (157) ControllerUsesWorkingZoneAndMoveType
BaseAINeedsToSwitchTargetMaybe () (158) BaseAINeedsToSwitchTargetMaybe
BaseAIEngineThinkRelated () (159) BaseAIEngineThinkRelated is BROKEN.
SetBaseAIController (param1) (160) SetBaseAIController
GetBaseAIController () (161) GetBaseAIController
Vtable162BaseAI () (162) Vtable162BaseAI is BROKEN.
GetBaseAINature () (163) GetBaseAINature
StopMovement (param1) (164) StopMovement
BaseAIGetCurrentTarget () (165) BaseAIGetCurrentTarget
BaseAIHasATargetMaybe () (166) BaseAIHasATargetMaybe
IsSleeping () (167) IsSleeping
SetSleepingFlag (param1) (168) SetSleepingFlag
SetBaseAIUnknown7 (param1) (169) SetBaseAIUnknown7
SetBaseAIUnknown7ToRealTimeTimerValue (param1) (170) SetBaseAIUnknown7ToRealTimeTimerValue
BaseAIStopMovementIfHighestDesireSet () (171) BaseAIStopMovementIfHighestDesireSet
BaseAIMaybeOpenDoorRelated () (172) BaseAIMaybeOpenDoorRelated is BROKEN.
Vtable173BaseAI () (173) Vtable173BaseAI is BROKEN.
Vtable174BaseAI (param1) (174) Vtable174BaseAI
GetBaseAITauntTypeString () (175) GetBaseAITauntTypeString
GetBaseAIHighestDesireRoundedUp () (176) GetBaseAIHighestDesireRoundedUp
ClearSentryAITargets () (177) ClearSentryAITargets
SetSentryMode (param1) (178) SetSentryMode
GetSentryMode () (179) GetSentryMode
SetSentryAccuracyTrigger (param1) (180) SetSentryAccuracyTrigger
GetSentryAccuracyTrigger () (181) GetSentryAccuracyTrigger
SetSentryLocation (param1) (182) SetSentryLocation
GetSentryLocation () (183) GetSentryLocation
SetSentryUserTarget (param1, param2) (184) SetSentryUserTarget
SentryAIMaybeCheckingTargets (param1) (185) SentryAIMaybeCheckingTargets
GetActorCopyofSPECIALStats () (186) GetActorCopyofSPECIALStats is BROKEN.
CopySomeActorFields () (187) CopySomeActorFields is BROKEN.
CopySomeActorFields2 () (188) CopySomeActorFields2 is BROKEN.
Vtable189Actor () (189) Vtable189Actor is BROKEN.
GetActorStartIndex () (190) GetActorStartIndex
SetActorStartIndex (param1) (191) SetActorStartIndex
GetActorFractionOfHitPointsLost () (192) GetActorFractionOfHitPointsLost
CheckBestHPRatioIfUseHealingItemMaybe () (193) CheckBestHPRatioIfUseHealingItemMaybe
ActorHasItemToPermBoostStats () (194) ActorHasItemToPermBoostStats
ActorHasItemToPermBoostStats2 () (195) ActorHasItemToPermBoostStats2
GetActorPoisonPointsTimes15Cap90 () (196) GetActorPoisonPointsTimes15Cap90
ActorLooksLikeNoOp () (197) ActorLooksLikeNoOp
GetActorRadPointsDivided10Cap90 () (198) GetActorRadPointsDivided10Cap90
ActorCheckItemsForRadHealing () (199) ActorCheckItemsForRadHealing
MakeConsumableGiveRadiation (param1, param2) (200) MakeConsumableGiveRadiation
MakeConsumableGivePoison (param1, param2) (201) MakeConsumableGivePoison
ApplyBonusesToAttachedActor () (202) ApplyBonusesToAttachedActor
GetExpectedHPRatioIfConsumableUsed (param1) (203) GetExpectedHPRatioIfConsumableUsed
DoesConsumablePermBoostSPEAL (param1) (204) DoesConsumablePermBoostSPEAL
Vtable205NoOpRetZeroFloat () (205) Vtable205NoOpRetZeroFloat
GetRatioOfRadPointHealingForConsumable (param1) (206) GetRatioOfRadPointHealingForConsumable
Vtable207ActorMaybeCheckForPlayerCharacter () (207) Vtable207ActorMaybeCheckForPlayerCharacter
GetRankString () (208) GetRankString
GetActorRankID () (209) GetActorRankID
GetRanksGivenEntityHasAboveThis (param1) (210) GetRanksGivenEntityHasAboveThis
GetReputationString () (211) GetReputationString
GetCappedReputation () (212) GetCappedReputation
GetMissionsCom () (213) GetMissionsCom
IncrementMissionsCom (param1) (214) IncrementMissionsCom
AddToReputation (param1) (215) AddToReputation
IsGlowing () (216) IsGlowing
GetActorAge () (217) GetActorAge is BROKEN.
SetCurrentActionStringMaybe (param1, param2) (218) SetCurrentActionStringMaybe
GetCurrentActionString () (219) GetCurrentActionString
IsIdle () (220) IsIdle
IsMoving_WalkRunClimbLadderOrDriving () (221) IsMoving_WalkRunClimbLadderOrDriving
IsClimbing () (222) IsClimbing
IsIdleOrWalkRun () (223) IsIdleOrWalkRun
HasFallen () (224) HasFallen
Vtable225ThinkRelated () (225) Vtable225ThinkRelated
CanMove () (226) CanMove
CanRun () (227) CanRun
AdjustStanceDownward (param1) (228) AdjustStanceDownward
AdjustStanceUpward (param1) (229) AdjustStanceUpward
IsHumanoidOrDog () (230) IsHumanoidOrDog
MaxMovementSpeedMaybe () (231) MaxMovementSpeedMaybe
IsEncumbered () (232) IsEncumbered
IsStanding () (233) IsStanding
IsCrouching () (234) IsCrouching
IsProne () (235) IsProne
GetSelectedStance () (236) GetSelectedStance
ActoSetSelectedStance (param1) (237) ActoSetSelectedStance
IsHidden () (238) IsHidden
GetPostureString () (239) GetPostureString
SetSneakState (param1) (240) SetSneakState
IsBurrowed () (241) IsBurrowed
SetBurrowingState (param1) (242) SetBurrowingState
RollAgainstStat (param1, param2) (243) RollAgainstStat
ApplySkillToTargetEntity (param1, param2, param3) (244) ApplySkillToTargetEntity triggers behavior of a given skill against this Entity.
GetSkillStringBasedOnUnk25c () (245) GetSkillStringBasedOnUnk25c
GetActorUnk2EntityID () (246) GetActorUnk2EntityID
GetAdjustedPilotSkill () (247) GetAdjustedPilotSkill
DoesSkillStringMatchHelperItem (param1) (248) DoesSkillStringMatchHelperItem
IsValidTargetForSkill (param1) (249) IsValidTargetForSkill checks if the listed skill can be used against this Entity.
IsValidTargetForDefaultAction (param1, param2) (250) IsValidTargetForDefaultAction checks if an Entity can be the target of a "default" action.
IsGeneral () (251) IsGeneral
IsRecruitMaster () (252) IsRecruitMaster
IsQuartermaster () (253) IsQuartermaster
CanBarterWith () (254) CanBarterWith
BartersWithBOSScript () (255) BartersWithBOSScript
CanGambleWith () (256) CanGambleWith
GetRepairObjectDifficulty () (257) GetRepairObjectDifficulty
GetScaledKnockdownChance (param1) (258) GetScaledKnockdownChance
ActorKnockoutRelated () (259) ActorKnockoutRelated
ActorInjureLocation (param1, param2) (260) ActorInjureLocation
ActorKnockout (param1, param2, param3) (261) ActorKnockout
ActorDisarm (param1, param2) (262) ActorDisarm
ActorBreakWeaponMaybe (param1, param2) (263) ActorBreakWeaponMaybe
ActorCriticalMissHitSelfMaybe (param1) (264) ActorCriticalMissHitSelfMaybe
ActorCriticalMissHitSelfMaybe2 (param1) (265) ActorCriticalMissHitSelfMaybe2
StunActor (param1) (266) StunActor
IsRightLegInjured (param1) (267) IsRightLegInjured
IsLeftLegInjured (param1) (268) IsLeftLegInjured
IsRightArmInjured (param1) (269) IsRightArmInjured
IsLeftArmInjured (param1) (270) IsLeftArmInjured
IsBlinded (param1) (271) IsBlinded
IsWinded (param1) (272) IsWinded
IsImmobilized (param1) (273) IsImmobilized
IsConcussed (param1) (274) IsConcussed
IsStunned (param1) (275) IsStunned
IsUnconscious () (276) IsUnconscious
IsBandagedStatus () (277) IsBandagedStatus
GetActorMovementCostToLocation (param1) (278) GetActorMovementCostToLocation
IsActorUnk23SetPlusSomeOtherFieldFalse () (279) IsActorUnk23SetPlusSomeOtherFieldFalse
Move () (280) Move
SetDestination (param1, param2, param3, param4, param5) (281) SetDestination
GetLocationBasedOnUnk23 () (282) GetLocationBasedOnUnk23
ActorGetUnk24bEntityID () (283) ActorGetUnk24bEntityID
ActorSomethingTouchSearch (param1, param2) (284) ActorSomethingTouchSearch
ActorSomethingTouchSearch2 (param1, param2) (285) ActorSomethingTouchSearch2
ActorSomethingTouchSearch3 (param1, param2) (286) ActorSomethingTouchSearch3
Vtable287NoOpRet0 () (287) Vtable287NoOpRet0
IsLegalTarget () (288) IsLegalTarget
ActorIsNotLegalTargetAndUnk1Set () (289) ActorIsNotLegalTargetAndUnk1Set
IsVehicleDisabled () (290) IsVehicleDisabled
ActorPickupItem (param1, param2) (291) ActorPickupItem
Vtable292Actor () (292) Vtable292Actor
ReturnUseItemResponseType0x40 () (293) ReturnUseItemResponseType0x40
GetSomeKindOfFlagForMouseOverTarget (param1, param2) (294) GetSomeKindOfFlagForMouseOverTarget
GetSomeKindOfFlagForMouseOverTarget2 (param1) (295) GetSomeKindOfFlagForMouseOverTarget2
BeginAttackAnEntity (param1, param2, param3) (296) BeginAttackAnEntity
BeginAttackALocation (param1) (297) BeginAttackALocation
ApplyAttackResultToEntity (param1) (298) ApplyAttackResultToEntity
ShotAtMissed (param1) (299) ShotAtMissed
ApplyDamage (param1, param2, param3, param4, param5, param6) (300) ApplyDamage applies damage to an Actor.
EntityWasKilled (param1, param2, param3, param4) (301) EntityWasKilled is called when an Actor is killed by damage.
IncrementKillCount (param1) (302) IncrementKillCount
CopyActorKillList () (303) CopyActorKillList is BROKEN.
Vtable304NoOpRet0 () (304) Vtable304NoOpRet0
ResolveCombatMessageForAttacker (param1) (305) ResolveCombatMessageForAttacker
GetIDOfEquippedItemInActiveSlot () (306) GetIDOfEquippedItemInActiveSlot
GetEntityIDOfNonEquippedWeapon () (307) GetEntityIDOfNonEquippedWeapon
ReloadActiveWeaponWithAnyAmmo () (308) ReloadActiveWeaponWithAnyAmmo
ReloadWeaponWithSelectedAmmo (param1, param2) (309) ReloadWeaponWithSelectedAmmo
ActorCanAttackWithActiveWeapon () (310) ActorCanAttackWithActiveWeapon
Vtable311ActorCheckingLastTimeRun () (311) Vtable311ActorCheckingLastTimeRun
InitActorCombatMessages () (312) InitActorCombatMessages
LevelUp (param1) (313) LevelUp
GetCombatMessage2TargetID () (314) GetCombatMessage2TargetID
GetPlayerBuyPriceForItem (param1, param2) (315) GetPlayerBuyPriceForItem
GetPlayerSellBackPriceForItem (param1, param2) (316) GetPlayerSellBackPriceForItem
GetCountOfMatchingItems (param1) (317) GetCountOfMatchingItems
EquipItem (param1, param2, param3) (318) EquipItem
RemoveItem (param1) (319) RemoveItem
RemoveItemIfEquipped (param1) (320) RemoveItemIfEquipped
AddToInventory (param1, param2, param3) (321) AddToInventory
RemoveFromInventory (param1, param2, param3) (322) RemoveFromInventory
UnequipItemFromSlotAndPutInInventory (param1) (323) UnequipItemFromSlotAndPutInInventory
UnequipItemByIDAndReturnToInventory (param1) (324) UnequipItemByIDAndReturnToInventory
EquipItemFromInventoryToSlot (param1, param2) (325) EquipItemFromInventoryToSlot
RemoveFromInventory2 (param1, param2) (326) RemoveFromInventory2
ActorSomethingRelatedToPickup (param1, param2, param3) (327) ActorSomethingRelatedToPickup
RemoveItemFromSlot2 (param1) (328) RemoveItemFromSlot2
RemoveItemIfEquipped2 (param1) (329) RemoveItemIfEquipped2
PickupItemAndEquipInSlot (param1, param2, param3) (330) PickupItemAndEquipInSlot
RemoveItemFromEquippedThenInventory (param1, param2) (331) RemoveItemFromEquippedThenInventory
RemoveItemFromInventoryThenEquipped (param1, param2) (332) RemoveItemFromInventoryThenEquipped
Vtable333SomethingForApplyingItem (param1) (333) Vtable333SomethingForApplyingItem
SetActiveWeaponHand (param1) (334) SetActiveWeaponHand
ToggleActiveHand () (335) ToggleActiveHand
CheckIfTargetInReachableRange (param1) (336) CheckIfTargetInReachableRange
GetSelectedHand () (337) GetSelectedHand
GetUnselectedHand () (338) GetUnselectedHand
GetIDofEquippedItemInSlot (param1) (339) GetIDofEquippedItemInSlot
Vtable340InventoryCombineRelatedMaybe (param1) (340) Vtable340InventoryCombineRelatedMaybe
PlayerEquippedItemWithTagName (param1) (341) PlayerEquippedItemWithTagName
IsItemIDEquipped (param1) (342) IsItemIDEquipped
ContainsItemWithTagName (param1) (343) ContainsItemWithTagName
ContainsItemByID (param1) (344) ContainsItemByID
EquippedOrContainsItemWithTagName (param1) (345) EquippedOrContainsItemWithTagName
FindIfEquippedOrCarriedItemByID (param1) (346) FindIfEquippedOrCarriedItemByID
Vtable347ActorSomethingAboutUsingItem (param1, param2, param3) (347) Vtable347ActorSomethingAboutUsingItem
CanUseItem (param1) (348) CanUseItem
CanReachInteractable (param1) (349) CanReachInteractable
GetSizeStringMaybe () (350) GetSizeStringMaybe
GetCurrentStats () (351) GetCurrentStats
GetCopyStats () (352) GetCopyStats
GetTempStats () (353) GetTempStats
GetBaseStats () (354) GetBaseStats
CopyAttributesToBaseStats (param1) (355) CopyAttributesToBaseStats
GetActorStatus () (356) GetActorStatus
CopyActorStatus (param1) (357) CopyActorStatus
AdjustAP (param1) (358) AdjustAP
AdjustAP2 (param1) (359) AdjustAP2
GetCurrentAP () (360) GetCurrentAP
GetAPAvailablePercentage () (361) GetAPAvailablePercentage
ActorUnconsciousAPHandling (param1) (362) ActorUnconsciousAPHandling
IsMale () (363) IsMale
IsFemale () (364) IsFemale
GetSexString () (365) GetSexString
GetEntityCharacterTypeString () (366) GetEntityCharacterTypeString
AddTempBonuses (param1, param2, param3) (367) AddTempBonuses
RemoveTempBonuses (param1, param2, param3) (368) RemoveTempBonuses
IncreaseAttributeByRange (param1, param2, param3) (369) IncreaseAttributeByRange will increase an attribute by a random amount between a lower and upper limit.
GrantXP (param1) (370) GrantXP
GetNPCLevel () (371) GetNPCLevel
HandleXPForNewPlayerCharacterMaybe () (372) HandleXPForNewPlayerCharacterMaybe
GiveXPForLevelUp () (373) GiveXPForLevelUp
GetExpectedLevelForMyXP () (374) GetExpectedLevelForMyXP
XPAndValueRelatedCalc () (375) XPAndValueRelatedCalc
RadiateEntity (param1) (376) RadiateEntity
PoisonEntity (param1) (377) PoisonEntity
AddOverdosePoints (param1) (378) AddOverdosePoints
MaybeHealOverTime (param1) (379) MaybeHealOverTime
IsAlwaysFriend () (380) IsAlwaysFriend
AdjustActorStatusBasedOnEffectChangeEtc () (381) AdjustActorStatusBasedOnEffectChangeEtc is BROKEN.
GetHP () (382) GetHP
HasAddiction () (383) HasAddiction
CheckOverdosed () (384) CheckOverdosed
IsInWithdrawal () (385) IsInWithdrawal
IsRadiated () (386) IsRadiated
IsPoisoned () (387) IsPoisoned
IsDrunk () (388) IsDrunk
GetWaypointPauseTime () (389) GetWaypointPauseTime
GetWaypointIndex () (390) GetWaypointIndex
AlwaysReturnMaxInt () (391) AlwaysReturnMaxInt
GetNextWaypointList () (392) GetNextWaypointList
GetWaypointActionString () (393) GetWaypointActionString
GetRepeat () (394) GetRepeat
GetWaypointUseDirection () (395) GetWaypointUseDirection
SetWaypointIndex (param1) (396) SetWaypointIndex
GetActorTargetLocationMaybe () (397) GetActorTargetLocationMaybe
SetActorTargetLocationMaybe (param1) (398) SetActorTargetLocationMaybe
GetAttackDir () (399) GetAttackDir
SetGUISlot (param1) (400) SetGUISlot
GetGUISlot () (401) GetGUISlot
GetInventoryList () (402) GetInventoryList
GetInventoryID () (403) GetInventoryID
SetInventoryID (param1) (404) SetInventoryID
ClearInventoryObject () (405) ClearInventoryObject
GetUnk22EntityID () (406) GetUnk22EntityID
ResetUnk22Entity (param1) (407) ResetUnk22Entity
InitUnkFields (param1) (408) InitUnkFields
GetMinDmg (param1) (409) GetMinDmg
GetMaxDmg (param1) (410) GetMaxDmg
SetWeaponModeByIndex (param1) (411) SetWeaponModeByIndex
GetNumWeaponModes () (412) GetNumWeaponModes
GetActiveWeaponMode () (413) GetActiveWeaponMode
SetNextWeaponMode (param1) (414) SetNextWeaponMode
SetWeaponCalledShot (param1) (415) SetWeaponCalledShot
WeaponCanUseCalledShot () (416) WeaponCanUseCalledShot
CanWeaponAndAttackerUseCalledShot (param1) (417) CanWeaponAndAttackerUseCalledShot
UseAmmoForCurrentMode () (418) UseAmmoForCurrentMode
HaveEnoughAmmoAndCanShoot () (419) HaveEnoughAmmoAndCanShoot
WeaponHasNonNormalPrimaryDamageTypeMaybe () (420) WeaponHasNonNormalPrimaryDamageTypeMaybe
ExplodeHeldWeaponMaybe () (421) ExplodeHeldWeaponMaybe
GetAPCost (param1) (422) GetAPCost
WeaponLoadingAmmoRelated (param1, param2) (423) WeaponLoadingAmmoRelated
MaybeUnloadAmmoFromWeapon (param1, param2) (424) MaybeUnloadAmmoFromWeapon
GetAmmoTypeString () (425) GetAmmoTypeString
GetWeaponPerkString () (426) GetWeaponPerkString
GetWeaponDamageRadius () (427) GetWeaponDamageRadius
GetImpactFX () (428) GetImpactFX
GetSoundFX () (429) GetSoundFX
GetProjectileName () (430) GetProjectileName
GetPrimaryDamageType () (431) GetPrimaryDamageType
GetSecondaryDamageType () (432) GetSecondaryDamageType
GetAmmoVariantString () (433) GetAmmoVariantString
GetAmmoOrUsesLeft () (434) GetAmmoOrUsesLeft
GetMaxUsesOrAmmoCapacity () (435) GetMaxUsesOrAmmoCapacity
WeaponIsDestroyUser () (436) WeaponIsDestroyUser
FindSuitableAmmoInInventory (param1) (437) FindSuitableAmmoInInventory
ContainsEntity (param1) (438) ContainsEntity
GetEffectiveWeaponRangeByRangeType () (439) GetEffectiveWeaponRangeByRangeType
GetRange (param1) (440) GetRange
GetMinRange () (441) GetMinRange
GetAverageDamage () (442) GetAverageDamage
CanWeaponAOE () (443) CanWeaponAOE
CanWeaponNotAOE () (444) CanWeaponNotAOE
CanFireWithRemainingAP (param1, param2) (445) CanFireWithRemainingAP
IsActivated () (446) IsActivated
GetFrequency () (447) GetFrequency
ActivateTrapRelated (param1, param2) (448) ActivateTrapRelated
GetTrapTimeToDetonation () (449) GetTrapTimeToDetonation
SetTrapFrequencyCode (param1, param2) (450) SetTrapFrequencyCode
DetonateTrap () (451) DetonateTrap sets off a trap immediately.
HasActiveTrap () (452) HasActiveTrap
TrapRelatedEitherDisarmOrTrigger (param1) (453) TrapRelatedEitherDisarmOrTrigger
SetContainedTrap (param1) (454) SetContainedTrap
PlaceTrapMaybe (param1, param2, param3) (455) PlaceTrapMaybe
DisarmTrap () (456) DisarmTrap immediately disarms a trap, and makes it visible if it is hidden.
ActivateOrBreakAlarm (param1) (457) ActivateOrBreakAlarm
IsDoorOpen () (458) IsDoorOpen
IsDoorClosed () (459) IsDoorClosed
IsLocked () (460) IsLocked
CanDoorOpen (param1) (461) CanDoorOpen
Vtable462DoorRelated (param1) (462) Vtable462DoorRelated
SetupCombatFXCombatMessageStruct (param1, param2) (463) SetupCombatFXCombatMessageStruct
Vtable464NoOp (param1, param2, param3, param4, param5, param6) (464) Vtable464NoOp
Vtable465CombatFX (param1) (465) Vtable465CombatFX
Vtable466NoOp (param1, param2, param3, param4) (466) Vtable466NoOp
Vtable467CombatFX (param1) (467) Vtable467CombatFX
Vtable468CombatFX () (468) Vtable468CombatFX
Vtable469CombatFX (param1) (469) Vtable469CombatFX
CombatFXBloodSprayRelated (param1) (470) CombatFXBloodSprayRelated
CombatFXBloodTrailRelated (param1, param2) (471) CombatFXBloodTrailRelated
CombatFXBloodPoolRelated (param1) (472) CombatFXBloodPoolRelated
SetupScenaryMove (param1, param2) (473) SetupScenaryMove
Vtable474NoOp (param1, param2, param3, param4, param5, param6) (474) Vtable474NoOp
Vtable475NoOp (param1, param2, param3, param4, param5, param6) (475) Vtable475NoOp
Vtable476ReturnFloatZero (param1, param2) (476) Vtable476ReturnFloatZero
Vtable477ActorMaybeWeaponImpactKnockdownRelated (param1, param2) (477) Vtable477ActorMaybeWeaponImpactKnockdownRelated
Vtable478NoOp () (478) Vtable478NoOp
Vtable479ReturnFalse () (479) Vtable479ReturnFalse
Vtable480DestructsStuff (param1, param2, param3) (480) Vtable480DestructsStuff
IsVehicleEmpty () (481) IsVehicleEmpty
IsThisEntityTheDriver (param1) (482) IsThisEntityTheDriver
IsThisEntityTheGunner (param1) (483) IsThisEntityTheGunner
IsThisEntityInVehicle (param1) (484) IsThisEntityInVehicle
GetVehicleDriver () (485) GetVehicleDriver
GetVehiclePassengerVector () (486) GetVehiclePassengerVector
VehicleBoundingBoxStuff1 () (487) VehicleBoundingBoxStuff1 is BROKEN.
IsInReverse () (488) IsInReverse
VehiclePassengerDisembarkAllowed (param1, param2) (489) VehiclePassengerDisembarkAllowed
SetExitPoint () (490) SetExitPoint
IsNotDeactivated () (491) IsNotDeactivated
ActivateActor () (492) ActivateActor
DeactivateActor () (493) DeactivateActor
Vtable494ActorEffectsRelated (param1) (494) Vtable494ActorEffectsRelated
RemoveEffectID (param1) (495) RemoveEffectID
ApplyEffectsWithGivenTagName (param1) (496) ApplyEffectsWithGivenTagName
BoundingBox2dSet () (497) BoundingBox2dSet
GetListOfContainedEntities () (498) GetListOfContainedEntities
ScriptConditionCheckMaybe (param1, param2) (499) ScriptConditionCheckMaybe
KillEntity (param1) (500) KillEntity immediately kills an Entity.
SetActivationState (param1) (501) SetActivationState
IsInActiveState () (502) IsInActiveState
IsEnabledForScriptEvents () (503) IsEnabledForScriptEvents
SetLockedState (param1) (504) SetLockedState
Vtable505ActorCallsWorldForSomething () (505) Vtable505ActorCallsWorldForSomething
GetRandomSpeechIDString () (506) GetRandomSpeechIDString
GetClickSpeechIDString () (507) GetClickSpeechIDString
SetRandomSpeechIDString (param1) (508) SetRandomSpeechIDString
SetClickSpeechIDString (param1) (509) SetClickSpeechIDString
ActOnControllerCommand (commandstruct) (510) ActOnControllerCommand
Vtable511ActorVehicle () (511) Vtable511ActorVehicle
SetHavingTurn (param1) (512) SetHavingTurn
IsHavingTurn () (513) IsHavingTurn
SetOverwatch (param1) (514) SetOverwatch
IsOverwatch () (515) IsOverwatch
ResetBonusAC () (516) ResetBonusAC
SetBonusACForHTHEvade () (517) SetBonusACForHTHEvade
GetUnk23 () (518) GetUnk23
Vtable519EntityESSRelated (param1) (519) Vtable519EntityESSRelated
DoSomethingWithHP (param1) (520) DoSomethingWithHP
Vtable521ALLSomethingWithAllFields () (521) Vtable521ALLSomethingWithAllFields is BROKEN.
Vtable522EntityDunno (param1) (522) Vtable522EntityDunno
GetClassType () (523) GetClassType is BROKEN.
ResetAndOrDestruct (param1) (524) ResetAndOrDestruct
IsSomethingMDCRelated () (525) IsSomethingMDCRelated
ActorPostureRelated () (526) ActorPostureRelated is BROKEN.
RenderUnconscious () (527) RenderUnconscious is BROKEN.
Vtable528NoOp (param1, param2) (528) Vtable528NoOp Actor only.
AdjustRadLevelFromRadPoints () (529) AdjustRadLevelFromRadPoints Actor only.
ApplyRadLevelPenalties (param1) (530) ApplyRadLevelPenalties Actor only.
UndoExistingRadLevelPenalties () (531) UndoExistingRadLevelPenalties Actor only.
PoisonEntity2 (param1, param2) (532) PoisonEntity2 Actor only.
ApplyPoisonDamage () (533) ApplyPoisonDamage Actor only.
ApplyOverdoseDamage () (534) ApplyOverdoseDamage Actor only.
ContestedSkillRollMaybe (param1, param2) (535) ContestedSkillRollMaybe Actor only.

Types

Vector3 A floating-point array holding XYZ location information.
RGBColor A floating-point array holding RGB color information.
InventoryActionResult A table indicating the result of an inventory action.
ZoneDefinition A table describing a zone within the current level.
ChanceToHit A table used when determining ability to hit a target with a weapon.
CombatMessage A table used by the game when evaluating results of combat actions.
ActorStatus A table indicating the fields from the ActorStatus section of the Actor.
AttributesTable A table indicating one or more attributes (stats, traits, skills, perks, etc.).
AnimOffset A table used in animation of an Actor.


Functions

GetRenderLightLevel (location, scale)
(0) GetRenderLightLevel returns light and color information for rendering. Specifics not yet known.

Parameters:

  • location A Vector3 type for some related location.
  • scale A floating-point value used as a scalar.

Returns:

    An RGBColor object giving the color-based light level.
RenderObjectMaybe ()
(1) RenderObjectMaybe is BROKEN. Do not use.
InitDefaultEntityFields ()
(2) InitDefaultEntityFields initalizes this entity's members to a default state.
SetAnimationType (param1)
(3) SetAnimationType sets the current animation sequence for the entity.

Parameters:

  • param1 A string indicating the sequence to set.

Returns:

    A boolean value indicating if the sequence was successfully set.
UpdateSprite (param1)
(4) UpdateSprite sets the current sprite for the entity. This will also refresh the sprite if other parameters are changed; e.g. colors.

Parameters:

  • param1 A string indicating which sprite file to use for the entity.

Returns:

    A boolean value indicating if the sprite was changed successfully.
Vtable5NoOp ()
(5) Vtable5NoOp
InitEntityAfterSpawn ()
(6) InitEntityAfterSpawn
PrepareEntity ()
(7) PrepareEntity does additional setup for the entity.
EraseInventory ()
(8) EraseInventory clears any inventory for the given entity. (Seems to not work for vehicles?)
MakeFreshCharacter ()
(9) MakeFreshCharacter resets an Actor entity to the defaults for its race.
DestructEntity ()
(10) DestructEntity removes the given entity from the game state. This has the same effect as Entity:Destruct.
SetDoFade ()
(11) SetDoFade
AliasToDestructEntity ()
(12) AliasToDestructEntity
SomethingWithBoundingBoxAndCollision ()
(13) SomethingWithBoundingBoxAndCollision
FlagCaptureFunction1 ()
(14) FlagCaptureFunction1
AttachNewFileToActor ()
(15) AttachNewFileToActor is BROKEN. Do not use.
AttachNewFileToActor2 ()
(16) AttachNewFileToActor2
SomethingNewSpawnRelated ()
(17) SomethingNewSpawnRelated
Vtable18EquipRelated (param1)
(18) Vtable18EquipRelated

Parameters:

  • param1 An entity
AdjustSpriteOffsetForRotatingDoor ()
(19) AdjustSpriteOffsetForRotatingDoor
FinishedAnimationSequenceMaybe ()
(20) FinishedAnimationSequenceMaybe is called on an entity when it has finished its current animation sequence. (?)
Vtable21NoOp ()
(21) Vtable21NoOp
Vtable22NoOp ()
(22) Vtable22NoOp
Vtable23NoOp ()
(23) Vtable23NoOp
RenderRelated ()
(24) RenderRelated is BROKEN. Do not use.
CheckThinkTimers ()
(25) CheckThinkTimers is called whenever the game should check the status of an Entity's timers. This is called frequently (seems to be less than once per frame though). The time between calls does not appear to be fixed.
DoEngineThink ()
(26) DoEngineThink is called when the engine think timer for an Entity expires. This varies depending on entity type, and generally involves processing the typical logic for that entity.
DoGameThink ()
(27) DoGameThink is called when the game think timer for an Entity expires. Only a few entities use this timer, typically for events which have a set time until action (timer traps, chem effects, etc.).
SoundRelated1 (param1)
(28) SoundRelated1

Parameters:

  • param1 An integer
GetSoundType ()
(29) GetSoundType

Returns:

    A string
SetRicochetSoundCounters (param1)
(30) SetRicochetSoundCounters

Parameters:

  • param1 An integer
SetParameterToZero ()
(31) SetParameterToZero

Returns:

    A Vector3 table
InitLightParameters (param1)
(32) InitLightParameters

Parameters:

  • param1 An array of 12 floating-point values
SetAttached (param1)
(33) SetAttached

Parameters:

  • param1 An entity
SetCustomName (param1)
(34) SetCustomName

Parameters:

  • param1 A string
GetCustomName ()
(35) GetCustomName

Returns:

    A string
GetDisplayName ()
(36) GetDisplayName

Returns:

    A string
GetHealthStatusString ()
(37) GetHealthStatusString

Returns:

    A string
Vtable38NoOpEmptyStringRet ()
(38) Vtable38NoOpEmptyStringRet

Returns:

    A string
GetUseActionName ()
(39) GetUseActionName

Returns:

    A string
CanBeHeldInHand ()
(40) CanBeHeldInHand

Returns:

    A boolean value
IsTimerMine ()
(41) IsTimerMine

Returns:

    A boolean value
IsTriggerTrap ()
(42) IsTriggerTrap

Returns:

    A boolean value
IsCollectable ()
(43) IsCollectable

Returns:

    A boolean value
IsSingleUseItem ()
(44) IsSingleUseItem

Returns:

    A boolean value
IsSkillConsumable ()
(45) IsSkillConsumable

Returns:

    A boolean value
IsArmour ()
(46) IsArmour

Returns:

    A boolean value
IsWeapon ()
(47) IsWeapon

Returns:

    A boolean value
IsAmmo ()
(48) IsAmmo

Returns:

    A boolean value
IsKey ()
(49) IsKey

Returns:

    A boolean value
IsContainer ()
(50) IsContainer

Returns:

    A boolean value
IsUnarmedAttack ()
(51) IsUnarmedAttack

Returns:

    A boolean value
IsMeleeAttack ()
(52) IsMeleeAttack

Returns:

    A boolean value
IsBaseAI ()
(53) IsBaseAI

Returns:

    A boolean value
IsController ()
(54) IsController

Returns:

    A boolean value
IsActor ()
(55) IsActor

Returns:

    A boolean value
IsActorUnk20Set ()
(56) IsActorUnk20Set

Returns:

    A boolean value
IsLight ()
(57) IsLight

Returns:

    A boolean value
IsVehicle ()
(58) IsVehicle

Returns:

    A boolean value
IsVehicleController ()
(59) IsVehicleController

Returns:

    A boolean value
IsVehicleWeapon ()
(60) IsVehicleWeapon

Returns:

    A boolean value
CanBeActivated ()
(61) CanBeActivated

Returns:

    A boolean value
IsDeadOrDestroyedMaybe ()
(62) IsDeadOrDestroyedMaybe

Returns:

    A boolean value
IsAttachedBaseAIMaybe ()
(63) IsAttachedBaseAIMaybe

Returns:

    A boolean value
IsLiving ()
(64) IsLiving

Returns:

    A boolean value
IsTrap ()
(65) IsTrap

Returns:

    A boolean value
IsSentryAI ()
(66) IsSentryAI

Returns:

    A boolean value
IsGeiger ()
(67) IsGeiger

Returns:

    A boolean value
IsWaypoint ()
(68) IsWaypoint

Returns:

    A boolean value
IsSpawnpoint ()
(69) IsSpawnpoint

Returns:

    A boolean value
IsAlarm ()
(70) IsAlarm

Returns:

    A boolean value
IsCombatFX ()
(71) IsCombatFX

Returns:

    A boolean value
IsSwitch ()
(72) IsSwitch

Returns:

    A boolean value
IsDoor ()
(73) IsDoor

Returns:

    A boolean value
IsGunTurret ()
(74) IsGunTurret

Returns:

    A boolean value
IsBrainJar ()
(75) IsBrainJar

Returns:

    A boolean value
IsBreakableType ()
(76) IsBreakableType

Returns:

    A boolean value
IsCaptureFlag ()
(77) IsCaptureFlag

Returns:

    A boolean value
IsTrapDoor ()
(78) IsTrapDoor

Returns:

    A boolean value
IsCyborgGeneral ()
(79) IsCyborgGeneral

Returns:

    A boolean value
IsPopupTurret ()
(80) IsPopupTurret

Returns:

    A boolean value
IsNotCaptureInvItem ()
(81) IsNotCaptureInvItem

Returns:

    A boolean value
RetTypeStringForCarryableEntity ()
(82) RetTypeStringForCarryableEntity

Returns:

    A string
MaybeUseEntity (param1, param2)
(83) MaybeUseEntity is called when the default action for an Entity is triggered.

Parameters:

  • param1 The Entity (usually an Actor) which used the triggered entity.
  • param2 An Entity which is the target for the triggered entity. Only a few triggerable entities use this (notably Consumable).

Returns:

    An InventoryActionResult table indicating the result (success or failure) of the entity being triggered.
SplitEntity (param1)
(84) SplitEntity splits a Collectable into two entities. This is used to split a stack of items.

Parameters:

  • param1 An integer indicating how many to remove from the stack. If equal or greater to the size of the stack, the original entity will be destructed.

Returns:

    An entity containing the split items.
MergeEntities (param1, param2)
(85) MergeEntities

Parameters:

  • param1 An entity
  • param2 An integer

Returns:

    A boolean value
MaybeCheckingIfMergeableAndMatching (param1)
(86) MaybeCheckingIfMergeableAndMatching

Parameters:

  • param1 An entity

Returns:

    A boolean value
CanBeRemoved ()
(87) CanBeRemoved

Returns:

    A boolean value
SetCanBeRemovedFlag (param1)
(88) SetCanBeRemovedFlag

Parameters:

  • param1 A boolean value
SetBeenAppliedFlag (param1)
(89) SetBeenAppliedFlag

Parameters:

  • param1 A boolean value
IsUnique ()
(90) IsUnique

Returns:

    A boolean value
SetIsUniqueFlag (param1)
(91) SetIsUniqueFlag

Parameters:

  • param1 A boolean value
MeetRequirementsCheck (param1)
(92) MeetRequirementsCheck

Parameters:

Returns:

    A boolean value
GetItemSPECIALRequired ()
(93) GetItemSPECIALRequired is BROKEN. Do not use.
ApplyEquip (param1, param2)
(94) ApplyEquip

Parameters:

  • param1 An entity
  • param2 An integer
UnApply (param1, param2)
(95) UnApply

Parameters:

  • param1 An entity
  • param2 An integer
SetTrapHolder (param1)
(96) SetTrapHolder

Parameters:

  • param1 An entity
ClearHolder (param1)
(97) ClearHolder

Parameters:

  • param1 An entity
GetCount ()
(98) GetCount

Returns:

    An integer
GetCountNonLootable ()
(99) GetCountNonLootable

Returns:

    An integer
IsLootable ()
(100) IsLootable

Returns:

    A boolean value
SetUnk25EntityID (param1)
(101) SetUnk25EntityID

Parameters:

  • param1 An entity
GetValueBaseOfItems ()
(102) GetValueBaseOfItems

Returns:

    An integer
GetCollectableRankReq ()
(103) GetCollectableRankReq

Returns:

    An integer
GetWeight ()
(104) GetWeight

Returns:

    A floating-point value
SetCount (param1)
(105) SetCount

Parameters:

  • param1 An integer
SetNonLootableCount (param1)
(106) SetNonLootableCount

Parameters:

  • param1 An integer

Returns:

    An integer
BreakEntity ()
(107) BreakEntity

Returns:

    A boolean value
IsBroken ()
(108) IsBroken

Returns:

    A boolean value
RepairEntity ()
(109) RepairEntity

Returns:

    A boolean value
GetTrapTotalDifficulty ()
(110) GetTrapTotalDifficulty

Returns:

    An integer
Vtable111Controller ()
(111) Vtable111Controller
Vtable112Controller (param1)
(112) Vtable112Controller

Parameters:

  • param1 An entity
Vtable113Controller (param1)
(113) Vtable113Controller

Parameters:

  • param1 An entity
SetControllerMoveTypePriority (param1)
(114) SetControllerMoveTypePriority

Parameters:

  • param1 An integer
SetControllerWorkingZone (param1)
(115) SetControllerWorkingZone

Parameters:

SetControllerRetreatZone (param1)
(116) SetControllerRetreatZone

Parameters:

SetControllerMoveTargetTag (param1)
(117) SetControllerMoveTargetTag

Parameters:

  • param1 A string
SetControllerAggression (param1)
(118) SetControllerAggression

Parameters:

  • param1 An integer
SetControllerCommunicate (param1)
(119) SetControllerCommunicate

Parameters:

  • param1 An integer
SetControllerMobility (param1)
(120) SetControllerMobility

Parameters:

  • param1 An integer
SetControllerRandomMove (param1, param2)
(121) SetControllerRandomMove

Parameters:

  • param1 A boolean value
  • param2 An integer
GetControllerMoveTypePriority ()
(122) GetControllerMoveTypePriority

Returns:

    An integer
GetControllerWorkingZone ()
(123) GetControllerWorkingZone

Returns:

    A ZoneDefinition table
GetControllerRetreatZone ()
(124) GetControllerRetreatZone

Returns:

    A ZoneDefinition table
GetControllerMoveTargetTag ()
(125) GetControllerMoveTargetTag

Returns:

    A string
GetControllerAggression ()
(126) GetControllerAggression

Returns:

    An integer
GetControllerCommunicate ()
(127) GetControllerCommunicate

Returns:

    An integer
GetControllerMobility ()
(128) GetControllerMobility

Returns:

    An integer
GetControllerRandomMove ()
(129) GetControllerRandomMove

Returns:

    A boolean value
GetControllerType ()
(130) GetControllerType

Returns:

    A string
SetControllerType (param1)
(131) SetControllerType

Parameters:

  • param1 A string
DeactivateController ()
(132) DeactivateController
SetControllerWaypointModeAndMoveTargetTag (param1)
(133) SetControllerWaypointModeAndMoveTargetTag

Parameters:

  • param1 A string
SetControllerStationary ()
(134) SetControllerStationary
SetControllerToPerimeterZone ()
(135) SetControllerToPerimeterZone
SetControllerToFollow (param1)
(136) SetControllerToFollow

Parameters:

  • param1 An integer
SetControllerToFlee ()
(137) SetControllerToFlee
ControllerDoSomethingWithUnitList ()
(138) ControllerDoSomethingWithUnitList
SetControllerUnknown4String (param1)
(139) SetControllerUnknown4String

Parameters:

  • param1 A string
GetControllerUnknown4String ()
(140) GetControllerUnknown4String

Returns:

    A string
ControllerWakeUpUnitList (param1)
(141) ControllerWakeUpUnitList

Parameters:

  • param1 An integer
ControllerIssueTauntForEntity (param1, param2)
(142) ControllerIssueTauntForEntity

Parameters:

  • param1 An entity
  • param2 An integer
ControllerWaypointMaybeTimingRelated (param1)
(143) ControllerWaypointMaybeTimingRelated

Parameters:

  • param1 An entity

Returns:

    A floating-point value
ControllerGetUnitWaypointActionString (param1)
(144) ControllerGetUnitWaypointActionString

Parameters:

  • param1 An entity

Returns:

    A string
ControllerWaypointCheckingRepeatFlag (param1)
(145) ControllerWaypointCheckingRepeatFlag

Parameters:

  • param1 An entity

Returns:

    A boolean value
ControllerMoveRelated (param1, param2)
(146) ControllerMoveRelated

Parameters:

  • param1 An entity
  • param2 A Vector3 table

Returns:

    A floating-point value
Vtable147Controller (param1, param2)
(147) Vtable147Controller

Parameters:

  • param1 An entity
  • param2 A boolean value

Returns:

    An entity
Vtable148Controller (param1)
(148) Vtable148Controller

Parameters:

  • param1 A string

Returns:

    An entity
ControllerGetFromUnknownList2 (param1, param2)
(149) ControllerGetFromUnknownList2

Parameters:

  • param1 An entity
  • param2 An integer

Returns:

    A floating-point value
Vtable150Controller ()
(150) Vtable150Controller

Returns:

    A boolean value
Vtable151NoOpReturnFloat0 (param1, param2)
(151) Vtable151NoOpReturnFloat0

Parameters:

  • param1 An integer
  • param2 An integer

Returns:

    A floating-point value
Vtable152NoOpReturnFloat0 (param1, param2)
(152) Vtable152NoOpReturnFloat0

Parameters:

  • param1 An integer
  • param2 An integer

Returns:

    A floating-point value
ControllerMoreMoveRelated (param1, param2)
(153) ControllerMoreMoveRelated

Parameters:

  • param1 An entity
  • param2 A Vector3 table

Returns:

    A floating-point value
ControllerWaypointStuff (param1)
(154) ControllerWaypointStuff

Parameters:

  • param1 An entity

Returns:

    A Vector3 table
ControllerSomethingAboutTookDamage (param1)
(155) ControllerSomethingAboutTookDamage

Parameters:

  • param1 An entity

Returns:

    An integer
Vtable156Controller (param1, param2)
(156) Vtable156Controller

Parameters:

  • param1 An entity
  • param2 A Vector3 table
ControllerUsesWorkingZoneAndMoveType (param1, param2, param3)
(157) ControllerUsesWorkingZoneAndMoveType

Parameters:

  • param1 An entity
  • param2 A Vector3 table
  • param3 A boolean value

Returns:

    A boolean value
BaseAINeedsToSwitchTargetMaybe ()
(158) BaseAINeedsToSwitchTargetMaybe

Returns:

    A boolean value
BaseAIEngineThinkRelated ()
(159) BaseAIEngineThinkRelated is BROKEN. Do not use.
SetBaseAIController (param1)
(160) SetBaseAIController

Parameters:

  • param1 An entity
GetBaseAIController ()
(161) GetBaseAIController

Returns:

    An entity
Vtable162BaseAI ()
(162) Vtable162BaseAI is BROKEN. Do not use.
GetBaseAINature ()
(163) GetBaseAINature

Returns:

    A string
StopMovement (param1)
(164) StopMovement

Parameters:

  • param1 A boolean value
BaseAIGetCurrentTarget ()
(165) BaseAIGetCurrentTarget

Returns:

    An entity
BaseAIHasATargetMaybe ()
(166) BaseAIHasATargetMaybe

Returns:

    A boolean value
IsSleeping ()
(167) IsSleeping

Returns:

    A boolean value
SetSleepingFlag (param1)
(168) SetSleepingFlag

Parameters:

  • param1 A boolean value
SetBaseAIUnknown7 (param1)
(169) SetBaseAIUnknown7

Parameters:

  • param1 A floating-point value
SetBaseAIUnknown7ToRealTimeTimerValue (param1)
(170) SetBaseAIUnknown7ToRealTimeTimerValue

Parameters:

  • param1 An integer
BaseAIStopMovementIfHighestDesireSet ()
(171) BaseAIStopMovementIfHighestDesireSet
BaseAIMaybeOpenDoorRelated ()
(172) BaseAIMaybeOpenDoorRelated is BROKEN. Do not use.
Vtable173BaseAI ()
(173) Vtable173BaseAI is BROKEN. Do not use.
Vtable174BaseAI (param1)
(174) Vtable174BaseAI

Parameters:

  • param1 An entity
GetBaseAITauntTypeString ()
(175) GetBaseAITauntTypeString

Returns:

    A string
GetBaseAIHighestDesireRoundedUp ()
(176) GetBaseAIHighestDesireRoundedUp

Returns:

    An integer
ClearSentryAITargets ()
(177) ClearSentryAITargets
SetSentryMode (param1)
(178) SetSentryMode

Parameters:

  • param1 An integer
GetSentryMode ()
(179) GetSentryMode

Returns:

    An integer
SetSentryAccuracyTrigger (param1)
(180) SetSentryAccuracyTrigger

Parameters:

  • param1 An integer
GetSentryAccuracyTrigger ()
(181) GetSentryAccuracyTrigger

Returns:

    An integer
SetSentryLocation (param1)
(182) SetSentryLocation

Parameters:

  • param1 An integer
GetSentryLocation ()
(183) GetSentryLocation

Returns:

    An integer
SetSentryUserTarget (param1, param2)
(184) SetSentryUserTarget

Parameters:

  • param1 An entity
  • param2 An integer
SentryAIMaybeCheckingTargets (param1)
(185) SentryAIMaybeCheckingTargets

Parameters:

  • param1 An entity
GetActorCopyofSPECIALStats ()
(186) GetActorCopyofSPECIALStats is BROKEN. Do not use.
CopySomeActorFields ()
(187) CopySomeActorFields is BROKEN. Do not use.
CopySomeActorFields2 ()
(188) CopySomeActorFields2 is BROKEN. Do not use.
Vtable189Actor ()
(189) Vtable189Actor is BROKEN. Do not use.
GetActorStartIndex ()
(190) GetActorStartIndex

Returns:

    An integer
SetActorStartIndex (param1)
(191) SetActorStartIndex

Parameters:

  • param1 An integer
GetActorFractionOfHitPointsLost ()
(192) GetActorFractionOfHitPointsLost

Returns:

    A floating-point value
CheckBestHPRatioIfUseHealingItemMaybe ()
(193) CheckBestHPRatioIfUseHealingItemMaybe

Returns:

    A floating-point value
ActorHasItemToPermBoostStats ()
(194) ActorHasItemToPermBoostStats

Returns:

    A floating-point value
ActorHasItemToPermBoostStats2 ()
(195) ActorHasItemToPermBoostStats2

Returns:

    A floating-point value
GetActorPoisonPointsTimes15Cap90 ()
(196) GetActorPoisonPointsTimes15Cap90

Returns:

    A floating-point value
ActorLooksLikeNoOp ()
(197) ActorLooksLikeNoOp

Returns:

    A floating-point value
GetActorRadPointsDivided10Cap90 ()
(198) GetActorRadPointsDivided10Cap90

Returns:

    A floating-point value
ActorCheckItemsForRadHealing ()
(199) ActorCheckItemsForRadHealing

Returns:

    A floating-point value
MakeConsumableGiveRadiation (param1, param2)
(200) MakeConsumableGiveRadiation

Parameters:

  • param1 An integer
  • param2 An integer
MakeConsumableGivePoison (param1, param2)
(201) MakeConsumableGivePoison

Parameters:

  • param1 An integer
  • param2 An integer
ApplyBonusesToAttachedActor ()
(202) ApplyBonusesToAttachedActor
GetExpectedHPRatioIfConsumableUsed (param1)
(203) GetExpectedHPRatioIfConsumableUsed

Parameters:

  • param1 An entity

Returns:

    A floating-point value
DoesConsumablePermBoostSPEAL (param1)
(204) DoesConsumablePermBoostSPEAL

Parameters:

  • param1 An entity

Returns:

    A floating-point value
Vtable205NoOpRetZeroFloat ()
(205) Vtable205NoOpRetZeroFloat

Returns:

    A floating-point value
GetRatioOfRadPointHealingForConsumable (param1)
(206) GetRatioOfRadPointHealingForConsumable

Parameters:

  • param1 An entity

Returns:

    A floating-point value
Vtable207ActorMaybeCheckForPlayerCharacter ()
(207) Vtable207ActorMaybeCheckForPlayerCharacter

Returns:

    A boolean value
GetRankString ()
(208) GetRankString

Returns:

    A string
GetActorRankID ()
(209) GetActorRankID

Returns:

    An integer
GetRanksGivenEntityHasAboveThis (param1)
(210) GetRanksGivenEntityHasAboveThis

Parameters:

  • param1 An entity

Returns:

    An integer
GetReputationString ()
(211) GetReputationString

Returns:

    A string
GetCappedReputation ()
(212) GetCappedReputation

Returns:

    An integer
GetMissionsCom ()
(213) GetMissionsCom

Returns:

    An integer
IncrementMissionsCom (param1)
(214) IncrementMissionsCom

Parameters:

  • param1 An integer
AddToReputation (param1)
(215) AddToReputation

Parameters:

  • param1 An integer
IsGlowing ()
(216) IsGlowing

Returns:

    A boolean value
GetActorAge ()
(217) GetActorAge is BROKEN. Do not use.
SetCurrentActionStringMaybe (param1, param2)
(218) SetCurrentActionStringMaybe

Parameters:

  • param1 A string
  • param2 A string
GetCurrentActionString ()
(219) GetCurrentActionString

Returns:

    A string
IsIdle ()
(220) IsIdle

Returns:

    A boolean value
IsMoving_WalkRunClimbLadderOrDriving ()
(221) IsMoving_WalkRunClimbLadderOrDriving

Returns:

    A boolean value
IsClimbing ()
(222) IsClimbing

Returns:

    A boolean value
IsIdleOrWalkRun ()
(223) IsIdleOrWalkRun

Returns:

    A boolean value
HasFallen ()
(224) HasFallen

Returns:

    A boolean value
Vtable225ThinkRelated ()
(225) Vtable225ThinkRelated
CanMove ()
(226) CanMove

Returns:

    A boolean value
CanRun ()
(227) CanRun

Returns:

    A boolean value
AdjustStanceDownward (param1)
(228) AdjustStanceDownward

Parameters:

  • param1 A boolean value
AdjustStanceUpward (param1)
(229) AdjustStanceUpward

Parameters:

  • param1 A boolean value
IsHumanoidOrDog ()
(230) IsHumanoidOrDog

Returns:

    A boolean value
MaxMovementSpeedMaybe ()
(231) MaxMovementSpeedMaybe

Returns:

    A floating-point value
IsEncumbered ()
(232) IsEncumbered

Returns:

    A boolean value
IsStanding ()
(233) IsStanding

Returns:

    A boolean value
IsCrouching ()
(234) IsCrouching

Returns:

    A boolean value
IsProne ()
(235) IsProne

Returns:

    A boolean value
GetSelectedStance ()
(236) GetSelectedStance

Returns:

    An integer
ActoSetSelectedStance (param1)
(237) ActoSetSelectedStance

Parameters:

  • param1 A string
IsHidden ()
(238) IsHidden

Returns:

    A boolean value
GetPostureString ()
(239) GetPostureString

Returns:

    A string
SetSneakState (param1)
(240) SetSneakState

Parameters:

  • param1 A boolean value
IsBurrowed ()
(241) IsBurrowed

Returns:

    A boolean value
SetBurrowingState (param1)
(242) SetBurrowingState

Parameters:

  • param1 A boolean value
RollAgainstStat (param1, param2)
(243) RollAgainstStat

Parameters:

  • param1 A string
  • param2 An integer

Returns:

    A boolean value
ApplySkillToTargetEntity (param1, param2, param3)
(244) ApplySkillToTargetEntity triggers behavior of a given skill against this Entity.

Parameters:

  • param1 A string indicating the internal name of the skill being used (same string as those used in AttributesTable).
  • param2 An entity indicating the Actor using this skill.
  • param3 An entity related to the skill being used. Appears to be used to indicate a SkillConsumable used for First Aid / Doctor / Repair, etc.

Returns:

    An InventoryActionResult table indicating the result of the skill use (success or failure).
GetSkillStringBasedOnUnk25c ()
(245) GetSkillStringBasedOnUnk25c

Returns:

    A string
GetActorUnk2EntityID ()
(246) GetActorUnk2EntityID

Returns:

    An entity
GetAdjustedPilotSkill ()
(247) GetAdjustedPilotSkill

Returns:

    An integer
DoesSkillStringMatchHelperItem (param1)
(248) DoesSkillStringMatchHelperItem

Parameters:

  • param1 A string

Returns:

    A boolean value
IsValidTargetForSkill (param1)
(249) IsValidTargetForSkill checks if the listed skill can be used against this Entity.

Parameters:

  • param1 A string indicating the internal name of the skill being checked.

Returns:

    A boolean value indicating if the skill is allowed to be used.
IsValidTargetForDefaultAction (param1, param2)
(250) IsValidTargetForDefaultAction checks if an Entity can be the target of a "default" action.

Parameters:

  • param1 An unknown entity. Seems to only be used for Trap type.
  • param2 An unknown entity. Seems to only be used for Trap type.

Returns:

    A boolean value indicating if the entity supports default action.
IsGeneral ()
(251) IsGeneral

Returns:

    A boolean value
IsRecruitMaster ()
(252) IsRecruitMaster

Returns:

    A boolean value
IsQuartermaster ()
(253) IsQuartermaster

Returns:

    A boolean value
CanBarterWith ()
(254) CanBarterWith

Returns:

    A boolean value
BartersWithBOSScript ()
(255) BartersWithBOSScript

Returns:

    A boolean value
CanGambleWith ()
(256) CanGambleWith

Returns:

    A boolean value
GetRepairObjectDifficulty ()
(257) GetRepairObjectDifficulty

Returns:

    An integer
GetScaledKnockdownChance (param1)
(258) GetScaledKnockdownChance

Parameters:

  • param1 A floating-point value

Returns:

    A floating-point value
ActorKnockoutRelated ()
(259) ActorKnockoutRelated
ActorInjureLocation (param1, param2)
(260) ActorInjureLocation

Parameters:

  • param1 An integer
  • param2 An integer

Returns:

    An InventoryActionResult table
ActorKnockout (param1, param2, param3)
(261) ActorKnockout

Parameters:

  • param1 An integer
  • param2 An integer
  • param3 An integer

Returns:

    An InventoryActionResult table
ActorDisarm (param1, param2)
(262) ActorDisarm

Parameters:

  • param1 An integer
  • param2 An integer

Returns:

    An InventoryActionResult table
ActorBreakWeaponMaybe (param1, param2)
(263) ActorBreakWeaponMaybe

Parameters:

  • param1 An integer
  • param2 An integer

Returns:

    An InventoryActionResult table
ActorCriticalMissHitSelfMaybe (param1)
(264) ActorCriticalMissHitSelfMaybe

Parameters:

  • param1 An integer

Returns:

    An InventoryActionResult table
ActorCriticalMissHitSelfMaybe2 (param1)
(265) ActorCriticalMissHitSelfMaybe2

Parameters:

  • param1 An integer

Returns:

    An InventoryActionResult table
StunActor (param1)
(266) StunActor

Parameters:

  • param1 An integer
IsRightLegInjured (param1)
(267) IsRightLegInjured

Parameters:

  • param1 A boolean value

Returns:

    A boolean value
IsLeftLegInjured (param1)
(268) IsLeftLegInjured

Parameters:

  • param1 A boolean value

Returns:

    A boolean value
IsRightArmInjured (param1)
(269) IsRightArmInjured

Parameters:

  • param1 A boolean value

Returns:

    A boolean value
IsLeftArmInjured (param1)
(270) IsLeftArmInjured

Parameters:

  • param1 A boolean value

Returns:

    A boolean value
IsBlinded (param1)
(271) IsBlinded

Parameters:

  • param1 A boolean value

Returns:

    A boolean value
IsWinded (param1)
(272) IsWinded

Parameters:

  • param1 A boolean value

Returns:

    A boolean value
IsImmobilized (param1)
(273) IsImmobilized

Parameters:

  • param1 A boolean value

Returns:

    A boolean value
IsConcussed (param1)
(274) IsConcussed

Parameters:

  • param1 A boolean value

Returns:

    A boolean value
IsStunned (param1)
(275) IsStunned

Parameters:

  • param1 A boolean value

Returns:

    A boolean value
IsUnconscious ()
(276) IsUnconscious

Returns:

    A boolean value
IsBandagedStatus ()
(277) IsBandagedStatus

Returns:

    A boolean value
GetActorMovementCostToLocation (param1)
(278) GetActorMovementCostToLocation

Parameters:

Returns:

    An integer
IsActorUnk23SetPlusSomeOtherFieldFalse ()
(279) IsActorUnk23SetPlusSomeOtherFieldFalse

Returns:

    A boolean value
Move ()
(280) Move
SetDestination (param1, param2, param3, param4, param5)
(281) SetDestination

Parameters:

  • param1 A Vector3 table
  • param2 An integer
  • param3 A floating-point value
  • param4 A floating-point value
  • param5 A boolean value
GetLocationBasedOnUnk23 ()
(282) GetLocationBasedOnUnk23

Returns:

    A Vector3 table
ActorGetUnk24bEntityID ()
(283) ActorGetUnk24bEntityID

Returns:

    An entity
ActorSomethingTouchSearch (param1, param2)
(284) ActorSomethingTouchSearch

Parameters:

  • param1 A Vector3 table
  • param2 A boolean value

Returns:

    A boolean value
ActorSomethingTouchSearch2 (param1, param2)
(285) ActorSomethingTouchSearch2

Parameters:

  • param1 A Vector3 table
  • param2 A boolean value

Returns:

    A boolean value
ActorSomethingTouchSearch3 (param1, param2)
(286) ActorSomethingTouchSearch3

Parameters:

  • param1 A Vector3 table
  • param2 A boolean value

Returns:

    A boolean value
Vtable287NoOpRet0 ()
(287) Vtable287NoOpRet0

Returns:

    A boolean value
IsLegalTarget ()
(288) IsLegalTarget

Returns:

    A boolean value
ActorIsNotLegalTargetAndUnk1Set ()
(289) ActorIsNotLegalTargetAndUnk1Set

Returns:

    A boolean value
IsVehicleDisabled ()
(290) IsVehicleDisabled

Returns:

    A boolean value
ActorPickupItem (param1, param2)
(291) ActorPickupItem

Parameters:

  • param1 An entity
  • param2 An integer

Returns:

    An InventoryActionResult table
Vtable292Actor ()
(292) Vtable292Actor
ReturnUseItemResponseType0x40 ()
(293) ReturnUseItemResponseType0x40

Returns:

    An InventoryActionResult table
GetSomeKindOfFlagForMouseOverTarget (param1, param2)
(294) GetSomeKindOfFlagForMouseOverTarget

Parameters:

  • param1 An entity
  • param2 A boolean value

Returns:

    A ChanceToHit table
GetSomeKindOfFlagForMouseOverTarget2 (param1)
(295) GetSomeKindOfFlagForMouseOverTarget2

Parameters:

Returns:

    A ChanceToHit table
BeginAttackAnEntity (param1, param2, param3)
(296) BeginAttackAnEntity

Parameters:

  • param1 An entity
  • param2 An integer
  • param3 An integer

Returns:

    A ChanceToHit table
BeginAttackALocation (param1)
(297) BeginAttackALocation

Parameters:

Returns:

    A ChanceToHit table
ApplyAttackResultToEntity (param1)
(298) ApplyAttackResultToEntity

Parameters:

ShotAtMissed (param1)
(299) ShotAtMissed

Parameters:

ApplyDamage (param1, param2, param3, param4, param5, param6)
(300) ApplyDamage applies damage to an Actor. This damage is directly reduced from HP, so the caller should take appropriate resistances into account, if applicable.

Parameters:

  • param1 An entity indicating the source of the damage (often an Actor).
  • param2 An integer indicating the number of hits (maybe).
  • param3 An integer indicating the damage that was done.
  • param4 An unknown, possibly unused, integer value.
  • param5 A string indicating the type of damage done to the entity. Used for damage or death animation effects.
  • param6 An unknown, possibly unused, integer value.
EntityWasKilled (param1, param2, param3, param4)
(301) EntityWasKilled is called when an Actor is killed by damage.

Parameters:

  • param1 An entity indicating the attacker that caused the damage.
  • param2 An integer indicating the number of hits taken by the target. Generally used to select the death animation.
  • param3 An integer indicating the total damage taken by the target. Generally used to select the death animation.
  • param4 A string indicating the type of damage done. Generally used to select the death animation.
IncrementKillCount (param1)
(302) IncrementKillCount

Parameters:

  • param1 An entity
CopyActorKillList ()
(303) CopyActorKillList is BROKEN. Do not use.
Vtable304NoOpRet0 ()
(304) Vtable304NoOpRet0

Returns:

    A boolean value
ResolveCombatMessageForAttacker (param1)
(305) ResolveCombatMessageForAttacker

Parameters:

GetIDOfEquippedItemInActiveSlot ()
(306) GetIDOfEquippedItemInActiveSlot

Returns:

    An entity
GetEntityIDOfNonEquippedWeapon ()
(307) GetEntityIDOfNonEquippedWeapon

Returns:

    An entity
ReloadActiveWeaponWithAnyAmmo ()
(308) ReloadActiveWeaponWithAnyAmmo

Returns:

    An InventoryActionResult table
ReloadWeaponWithSelectedAmmo (param1, param2)
(309) ReloadWeaponWithSelectedAmmo

Parameters:

  • param1 An integer
  • param2 An entity

Returns:

    An InventoryActionResult table
ActorCanAttackWithActiveWeapon ()
(310) ActorCanAttackWithActiveWeapon

Returns:

    A boolean value
Vtable311ActorCheckingLastTimeRun ()
(311) Vtable311ActorCheckingLastTimeRun

Returns:

    A boolean value
InitActorCombatMessages ()
(312) InitActorCombatMessages
LevelUp (param1)
(313) LevelUp

Parameters:

  • param1 An integer
GetCombatMessage2TargetID ()
(314) GetCombatMessage2TargetID

Returns:

    An entity
GetPlayerBuyPriceForItem (param1, param2)
(315) GetPlayerBuyPriceForItem

Parameters:

  • param1 An entity
  • param2 An entity

Returns:

    An integer
GetPlayerSellBackPriceForItem (param1, param2)
(316) GetPlayerSellBackPriceForItem

Parameters:

  • param1 An entity
  • param2 An entity

Returns:

    An integer
GetCountOfMatchingItems (param1)
(317) GetCountOfMatchingItems

Parameters:

  • param1 An entity

Returns:

    An integer
EquipItem (param1, param2, param3)
(318) EquipItem

Parameters:

  • param1 An entity
  • param2 An integer
  • param3 An integer

Returns:

  1. An InventoryActionResult table
  2. An entity
RemoveItem (param1)
(319) RemoveItem

Parameters:

  • param1 An integer

Returns:

  1. An InventoryActionResult table
  2. An entity
RemoveItemIfEquipped (param1)
(320) RemoveItemIfEquipped

Parameters:

  • param1 An entity

Returns:

  1. An InventoryActionResult table
  2. An entity
AddToInventory (param1, param2, param3)
(321) AddToInventory

Parameters:

  • param1 An entity
  • param2 An integer
  • param3 An integer

Returns:

  1. An InventoryActionResult table
  2. An entity
RemoveFromInventory (param1, param2, param3)
(322) RemoveFromInventory

Parameters:

  • param1 An entity
  • param2 An integer
  • param3 An integer

Returns:

  1. An InventoryActionResult table
  2. An entity
UnequipItemFromSlotAndPutInInventory (param1)
(323) UnequipItemFromSlotAndPutInInventory

Parameters:

  • param1 An integer

Returns:

  1. An InventoryActionResult table
  2. An entity
UnequipItemByIDAndReturnToInventory (param1)
(324) UnequipItemByIDAndReturnToInventory

Parameters:

  • param1 An entity

Returns:

  1. An InventoryActionResult table
  2. An entity
EquipItemFromInventoryToSlot (param1, param2)
(325) EquipItemFromInventoryToSlot

Parameters:

  • param1 An entity
  • param2 An integer

Returns:

  1. An InventoryActionResult table
  2. An entity
RemoveFromInventory2 (param1, param2)
(326) RemoveFromInventory2

Parameters:

  • param1 An entity
  • param2 An integer

Returns:

  1. An InventoryActionResult table
  2. An entity
ActorSomethingRelatedToPickup (param1, param2, param3)
(327) ActorSomethingRelatedToPickup

Parameters:

  • param1 An entity
  • param2 An integer
  • param3 An integer

Returns:

  1. An InventoryActionResult table
  2. An entity
RemoveItemFromSlot2 (param1)
(328) RemoveItemFromSlot2

Parameters:

  • param1 An integer

Returns:

  1. An InventoryActionResult table
  2. An entity
RemoveItemIfEquipped2 (param1)
(329) RemoveItemIfEquipped2

Parameters:

  • param1 An entity

Returns:

  1. An InventoryActionResult table
  2. An entity
PickupItemAndEquipInSlot (param1, param2, param3)
(330) PickupItemAndEquipInSlot

Parameters:

  • param1 An entity
  • param2 An integer
  • param3 An integer

Returns:

  1. An InventoryActionResult table
  2. An entity
RemoveItemFromEquippedThenInventory (param1, param2)
(331) RemoveItemFromEquippedThenInventory

Parameters:

  • param1 An entity
  • param2 An integer

Returns:

  1. An InventoryActionResult table
  2. An entity
RemoveItemFromInventoryThenEquipped (param1, param2)
(332) RemoveItemFromInventoryThenEquipped

Parameters:

  • param1 An entity
  • param2 An integer

Returns:

  1. An InventoryActionResult table
  2. An entity
Vtable333SomethingForApplyingItem (param1)
(333) Vtable333SomethingForApplyingItem

Parameters:

  • param1 An integer

Returns:

  1. An InventoryActionResult table
  2. An entity
SetActiveWeaponHand (param1)
(334) SetActiveWeaponHand

Parameters:

  • param1 An integer
ToggleActiveHand ()
(335) ToggleActiveHand
CheckIfTargetInReachableRange (param1)
(336) CheckIfTargetInReachableRange

Parameters:

  • param1 An entity

Returns:

    A boolean value
GetSelectedHand ()
(337) GetSelectedHand

Returns:

    An integer
GetUnselectedHand ()
(338) GetUnselectedHand

Returns:

    An integer
GetIDofEquippedItemInSlot (param1)
(339) GetIDofEquippedItemInSlot

Parameters:

  • param1 An integer

Returns:

    An entity
Vtable340InventoryCombineRelatedMaybe (param1)
(340) Vtable340InventoryCombineRelatedMaybe

Parameters:

  • param1 An entity

Returns:

    An InventoryActionResult table
PlayerEquippedItemWithTagName (param1)
(341) PlayerEquippedItemWithTagName

Parameters:

  • param1 A string

Returns:

    A boolean value
IsItemIDEquipped (param1)
(342) IsItemIDEquipped

Parameters:

  • param1 An entity

Returns:

    A boolean value
ContainsItemWithTagName (param1)
(343) ContainsItemWithTagName

Parameters:

  • param1 A string

Returns:

    A boolean value
ContainsItemByID (param1)
(344) ContainsItemByID

Parameters:

  • param1 An entity

Returns:

    A boolean value
EquippedOrContainsItemWithTagName (param1)
(345) EquippedOrContainsItemWithTagName

Parameters:

  • param1 A string

Returns:

    A boolean value
FindIfEquippedOrCarriedItemByID (param1)
(346) FindIfEquippedOrCarriedItemByID

Parameters:

  • param1 An entity

Returns:

    A boolean value
Vtable347ActorSomethingAboutUsingItem (param1, param2, param3)
(347) Vtable347ActorSomethingAboutUsingItem

Parameters:

  • param1 An integer
  • param2 An integer
  • param3 An integer

Returns:

    An InventoryActionResult table
CanUseItem (param1)
(348) CanUseItem

Parameters:

  • param1 An entity

Returns:

    An InventoryActionResult table
CanReachInteractable (param1)
(349) CanReachInteractable

Parameters:

  • param1 An entity

Returns:

    An InventoryActionResult table
GetSizeStringMaybe ()
(350) GetSizeStringMaybe

Returns:

    A string
GetCurrentStats ()
(351) GetCurrentStats

Returns:

    An AttributesTable table
GetCopyStats ()
(352) GetCopyStats

Returns:

    An AttributesTable table
GetTempStats ()
(353) GetTempStats

Returns:

    An AttributesTable table
GetBaseStats ()
(354) GetBaseStats

Returns:

    An AttributesTable table
CopyAttributesToBaseStats (param1)
(355) CopyAttributesToBaseStats

Parameters:

GetActorStatus ()
(356) GetActorStatus

Returns:

    An ActorStatus table
CopyActorStatus (param1)
(357) CopyActorStatus

Parameters:

AdjustAP (param1)
(358) AdjustAP

Parameters:

  • param1 A floating-point value
AdjustAP2 (param1)
(359) AdjustAP2

Parameters:

  • param1 An integer
GetCurrentAP ()
(360) GetCurrentAP

Returns:

    A floating-point value
GetAPAvailablePercentage ()
(361) GetAPAvailablePercentage

Returns:

    A floating-point value
ActorUnconsciousAPHandling (param1)
(362) ActorUnconsciousAPHandling

Parameters:

  • param1 A boolean value
IsMale ()
(363) IsMale

Returns:

    A boolean value
IsFemale ()
(364) IsFemale

Returns:

    A boolean value
GetSexString ()
(365) GetSexString

Returns:

    A string
GetEntityCharacterTypeString ()
(366) GetEntityCharacterTypeString

Returns:

    A string
AddTempBonuses (param1, param2, param3)
(367) AddTempBonuses

Parameters:

  • param1 An AttributesTable table
  • param2 An integer
  • param3 A floating-point value
RemoveTempBonuses (param1, param2, param3)
(368) RemoveTempBonuses

Parameters:

  • param1 An AttributesTable table
  • param2 An integer
  • param3 A floating-point value
IncreaseAttributeByRange (param1, param2, param3)
(369) IncreaseAttributeByRange will increase an attribute by a random amount between a lower and upper limit.

Parameters:

  • param1 An integer indicating the minimum to adjust by.
  • param2 An integer indicating the maximum to adjust by.
  • param3 An internal string indicating the attribute to increase. Can be "hitPoints", or most other attribute names.

Returns:

    An integer indicating the amount the attribute was increased by.
GrantXP (param1)
(370) GrantXP

Parameters:

  • param1 An integer

Returns:

    A boolean value
GetNPCLevel ()
(371) GetNPCLevel

Returns:

    An integer
HandleXPForNewPlayerCharacterMaybe ()
(372) HandleXPForNewPlayerCharacterMaybe
GiveXPForLevelUp ()
(373) GiveXPForLevelUp
GetExpectedLevelForMyXP ()
(374) GetExpectedLevelForMyXP

Returns:

    An integer
XPAndValueRelatedCalc ()
(375) XPAndValueRelatedCalc

Returns:

    An integer
RadiateEntity (param1)
(376) RadiateEntity

Parameters:

  • param1 A floating-point value
PoisonEntity (param1)
(377) PoisonEntity

Parameters:

  • param1 A floating-point value
AddOverdosePoints (param1)
(378) AddOverdosePoints

Parameters:

  • param1 A floating-point value
MaybeHealOverTime (param1)
(379) MaybeHealOverTime

Parameters:

  • param1 A floating-point value
IsAlwaysFriend ()
(380) IsAlwaysFriend

Returns:

    A boolean value
AdjustActorStatusBasedOnEffectChangeEtc ()
(381) AdjustActorStatusBasedOnEffectChangeEtc is BROKEN. Do not use.
GetHP ()
(382) GetHP

Returns:

    An integer
HasAddiction ()
(383) HasAddiction

Returns:

    A boolean value
CheckOverdosed ()
(384) CheckOverdosed

Returns:

    A boolean value
IsInWithdrawal ()
(385) IsInWithdrawal

Returns:

    A boolean value
IsRadiated ()
(386) IsRadiated

Returns:

    A boolean value
IsPoisoned ()
(387) IsPoisoned

Returns:

    A boolean value
IsDrunk ()
(388) IsDrunk

Returns:

    A boolean value
GetWaypointPauseTime ()
(389) GetWaypointPauseTime

Returns:

    A floating-point value
GetWaypointIndex ()
(390) GetWaypointIndex

Returns:

    An integer
AlwaysReturnMaxInt ()
(391) AlwaysReturnMaxInt

Returns:

    An integer
GetNextWaypointList ()
(392) GetNextWaypointList

Returns:

    A string
GetWaypointActionString ()
(393) GetWaypointActionString

Returns:

    A string
GetRepeat ()
(394) GetRepeat

Returns:

    A boolean value
GetWaypointUseDirection ()
(395) GetWaypointUseDirection

Returns:

    A boolean value
SetWaypointIndex (param1)
(396) SetWaypointIndex

Parameters:

  • param1 An integer
GetActorTargetLocationMaybe ()
(397) GetActorTargetLocationMaybe

Returns:

    A Vector3 table
SetActorTargetLocationMaybe (param1)
(398) SetActorTargetLocationMaybe

Parameters:

GetAttackDir ()
(399) GetAttackDir

Returns:

    A Vector3 table
SetGUISlot (param1)
(400) SetGUISlot

Parameters:

  • param1 An integer
GetGUISlot ()
(401) GetGUISlot

Returns:

    An integer
GetInventoryList ()
(402) GetInventoryList

Returns:

    An array of entities
GetInventoryID ()
(403) GetInventoryID

Returns:

    An entity
SetInventoryID (param1)
(404) SetInventoryID

Parameters:

  • param1 An entity
ClearInventoryObject ()
(405) ClearInventoryObject
GetUnk22EntityID ()
(406) GetUnk22EntityID

Returns:

    An entity
ResetUnk22Entity (param1)
(407) ResetUnk22Entity

Parameters:

  • param1 An entity
InitUnkFields (param1)
(408) InitUnkFields

Parameters:

  • param1 A boolean value
GetMinDmg (param1)
(409) GetMinDmg

Parameters:

  • param1 An entity

Returns:

    An integer
GetMaxDmg (param1)
(410) GetMaxDmg

Parameters:

  • param1 An entity

Returns:

    An integer
SetWeaponModeByIndex (param1)
(411) SetWeaponModeByIndex

Parameters:

  • param1 An integer
GetNumWeaponModes ()
(412) GetNumWeaponModes

Returns:

    An integer
GetActiveWeaponMode ()
(413) GetActiveWeaponMode

Returns:

    A WeaponMode table
SetNextWeaponMode (param1)
(414) SetNextWeaponMode

Parameters:

  • param1 A boolean value

Returns:

    A boolean value
SetWeaponCalledShot (param1)
(415) SetWeaponCalledShot

Parameters:

  • param1 A boolean value

Returns:

    A boolean value
WeaponCanUseCalledShot ()
(416) WeaponCanUseCalledShot

Returns:

    A boolean value
CanWeaponAndAttackerUseCalledShot (param1)
(417) CanWeaponAndAttackerUseCalledShot

Parameters:

  • param1 An integer

Returns:

    A boolean value
UseAmmoForCurrentMode ()
(418) UseAmmoForCurrentMode

Returns:

    A boolean value
HaveEnoughAmmoAndCanShoot ()
(419) HaveEnoughAmmoAndCanShoot

Returns:

    A boolean value
WeaponHasNonNormalPrimaryDamageTypeMaybe ()
(420) WeaponHasNonNormalPrimaryDamageTypeMaybe

Returns:

    A boolean value
ExplodeHeldWeaponMaybe ()
(421) ExplodeHeldWeaponMaybe

Returns:

    An integer
GetAPCost (param1)
(422) GetAPCost

Parameters:

  • param1 An entity

Returns:

    An integer
WeaponLoadingAmmoRelated (param1, param2)
(423) WeaponLoadingAmmoRelated

Parameters:

  • param1 An entity
  • param2 An entity

Returns:

    An InventoryActionResult table
MaybeUnloadAmmoFromWeapon (param1, param2)
(424) MaybeUnloadAmmoFromWeapon

Parameters:

  • param1 An entity
  • param2 An entity

Returns:

    An entity
GetAmmoTypeString ()
(425) GetAmmoTypeString

Returns:

    A string
GetWeaponPerkString ()
(426) GetWeaponPerkString

Returns:

    A string
GetWeaponDamageRadius ()
(427) GetWeaponDamageRadius

Returns:

    A floating-point value
GetImpactFX ()
(428) GetImpactFX

Returns:

    A string
GetSoundFX ()
(429) GetSoundFX

Returns:

    A string
GetProjectileName ()
(430) GetProjectileName

Returns:

    A string
GetPrimaryDamageType ()
(431) GetPrimaryDamageType

Returns:

    A string
GetSecondaryDamageType ()
(432) GetSecondaryDamageType

Returns:

    A string
GetAmmoVariantString ()
(433) GetAmmoVariantString

Returns:

    A string
GetAmmoOrUsesLeft ()
(434) GetAmmoOrUsesLeft

Returns:

    An integer
GetMaxUsesOrAmmoCapacity ()
(435) GetMaxUsesOrAmmoCapacity

Returns:

    An integer
WeaponIsDestroyUser ()
(436) WeaponIsDestroyUser

Returns:

    A boolean value
FindSuitableAmmoInInventory (param1)
(437) FindSuitableAmmoInInventory

Parameters:

  • param1 An array of entities

Returns:

    An entity
ContainsEntity (param1)
(438) ContainsEntity

Parameters:

  • param1 An entity

Returns:

    A boolean value
GetEffectiveWeaponRangeByRangeType ()
(439) GetEffectiveWeaponRangeByRangeType

Returns:

    A floating-point value
GetRange (param1)
(440) GetRange

Parameters:

  • param1 An entity

Returns:

    A floating-point value
GetMinRange ()
(441) GetMinRange

Returns:

    A floating-point value
GetAverageDamage ()
(442) GetAverageDamage

Returns:

    An integer
CanWeaponAOE ()
(443) CanWeaponAOE

Returns:

    A boolean value
CanWeaponNotAOE ()
(444) CanWeaponNotAOE

Returns:

    A boolean value
CanFireWithRemainingAP (param1, param2)
(445) CanFireWithRemainingAP

Parameters:

  • param1 An integer
  • param2 An entity

Returns:

    A boolean value
IsActivated ()
(446) IsActivated

Returns:

    A boolean value
GetFrequency ()
(447) GetFrequency

Returns:

    An integer
ActivateTrapRelated (param1, param2)
(448) ActivateTrapRelated

Parameters:

  • param1 An entity
  • param2 An entity
GetTrapTimeToDetonation ()
(449) GetTrapTimeToDetonation

Returns:

    A floating-point value
SetTrapFrequencyCode (param1, param2)
(450) SetTrapFrequencyCode

Parameters:

  • param1 An integer
  • param2 An integer
DetonateTrap ()
(451) DetonateTrap sets off a trap immediately.
HasActiveTrap ()
(452) HasActiveTrap

Returns:

    A boolean value
TrapRelatedEitherDisarmOrTrigger (param1)
(453) TrapRelatedEitherDisarmOrTrigger

Parameters:

  • param1 An entity

Returns:

    A boolean value
SetContainedTrap (param1)
(454) SetContainedTrap

Parameters:

  • param1 An entity

Returns:

    A boolean value
PlaceTrapMaybe (param1, param2, param3)
(455) PlaceTrapMaybe

Parameters:

  • param1 An entity
  • param2 An entity
  • param3 A boolean value
DisarmTrap ()
(456) DisarmTrap immediately disarms a trap, and makes it visible if it is hidden.
ActivateOrBreakAlarm (param1)
(457) ActivateOrBreakAlarm

Parameters:

  • param1 An entity
IsDoorOpen ()
(458) IsDoorOpen

Returns:

    A boolean value
IsDoorClosed ()
(459) IsDoorClosed

Returns:

    A boolean value
IsLocked ()
(460) IsLocked

Returns:

    A boolean value
CanDoorOpen (param1)
(461) CanDoorOpen

Parameters:

  • param1 An entity

Returns:

    A boolean value
Vtable462DoorRelated (param1)
(462) Vtable462DoorRelated

Parameters:

  • param1 An entity

Returns:

    A boolean value
SetupCombatFXCombatMessageStruct (param1, param2)
(463) SetupCombatFXCombatMessageStruct

Parameters:

Vtable464NoOp (param1, param2, param3, param4, param5, param6)
(464) Vtable464NoOp

Parameters:

  • param1 An integer
  • param2 An integer
  • param3 An integer
  • param4 An integer
  • param5 An integer
  • param6 An integer
Vtable465CombatFX (param1)
(465) Vtable465CombatFX

Parameters:

Vtable466NoOp (param1, param2, param3, param4)
(466) Vtable466NoOp

Parameters:

  • param1 An integer
  • param2 An integer
  • param3 An integer
  • param4 An integer
Vtable467CombatFX (param1)
(467) Vtable467CombatFX

Parameters:

Vtable468CombatFX ()
(468) Vtable468CombatFX
Vtable469CombatFX (param1)
(469) Vtable469CombatFX

Parameters:

CombatFXBloodSprayRelated (param1)
(470) CombatFXBloodSprayRelated

Parameters:

CombatFXBloodTrailRelated (param1, param2)
(471) CombatFXBloodTrailRelated

Parameters:

CombatFXBloodPoolRelated (param1)
(472) CombatFXBloodPoolRelated

Parameters:

  • param1 An entity
SetupScenaryMove (param1, param2)
(473) SetupScenaryMove

Parameters:

  • param1 A Vector3 table
  • param2 An integer
Vtable474NoOp (param1, param2, param3, param4, param5, param6)
(474) Vtable474NoOp

Parameters:

  • param1 An integer
  • param2 An integer
  • param3 An integer
  • param4 An integer
  • param5 An integer
  • param6 An integer
Vtable475NoOp (param1, param2, param3, param4, param5, param6)
(475) Vtable475NoOp

Parameters:

  • param1 An integer
  • param2 An integer
  • param3 An integer
  • param4 An integer
  • param5 An integer
  • param6 An integer
Vtable476ReturnFloatZero (param1, param2)
(476) Vtable476ReturnFloatZero

Parameters:

  • param1 An integer
  • param2 An integer

Returns:

    A floating-point value
Vtable477ActorMaybeWeaponImpactKnockdownRelated (param1, param2)
(477) Vtable477ActorMaybeWeaponImpactKnockdownRelated

Parameters:

  • param1 An integer
  • param2 A Vector3 table

Returns:

    A floating-point value
Vtable478NoOp ()
(478) Vtable478NoOp
Vtable479ReturnFalse ()
(479) Vtable479ReturnFalse

Returns:

    A boolean value
Vtable480DestructsStuff (param1, param2, param3)
(480) Vtable480DestructsStuff

Parameters:

  • param1 An integer
  • param2 An integer
  • param3 An integer
IsVehicleEmpty ()
(481) IsVehicleEmpty

Returns:

    A boolean value
IsThisEntityTheDriver (param1)
(482) IsThisEntityTheDriver

Parameters:

  • param1 An entity

Returns:

    A boolean value
IsThisEntityTheGunner (param1)
(483) IsThisEntityTheGunner

Parameters:

  • param1 An entity

Returns:

    A boolean value
IsThisEntityInVehicle (param1)
(484) IsThisEntityInVehicle

Parameters:

  • param1 An entity

Returns:

    A boolean value
GetVehicleDriver ()
(485) GetVehicleDriver

Returns:

    An entity
GetVehiclePassengerVector ()
(486) GetVehiclePassengerVector

Returns:

    An array of entities
VehicleBoundingBoxStuff1 ()
(487) VehicleBoundingBoxStuff1 is BROKEN. Do not use.
IsInReverse ()
(488) IsInReverse

Returns:

    A boolean value
VehiclePassengerDisembarkAllowed (param1, param2)
(489) VehiclePassengerDisembarkAllowed

Parameters:

  • param1 An entity
  • param2 A Vector3 table
SetExitPoint ()
(490) SetExitPoint

Returns:

    A Vector3 table
IsNotDeactivated ()
(491) IsNotDeactivated

Returns:

    A boolean value
ActivateActor ()
(492) ActivateActor
DeactivateActor ()
(493) DeactivateActor
Vtable494ActorEffectsRelated (param1)
(494) Vtable494ActorEffectsRelated

Parameters:

  • param1 An entity
RemoveEffectID (param1)
(495) RemoveEffectID

Parameters:

  • param1 An entity
ApplyEffectsWithGivenTagName (param1)
(496) ApplyEffectsWithGivenTagName

Parameters:

  • param1 A string
BoundingBox2dSet ()
(497) BoundingBox2dSet

Returns:

    A boolean value
GetListOfContainedEntities ()
(498) GetListOfContainedEntities

Returns:

    An array of entities
ScriptConditionCheckMaybe (param1, param2)
(499) ScriptConditionCheckMaybe

Parameters:

Returns:

    A boolean value
KillEntity (param1)
(500) KillEntity immediately kills an Entity.

Parameters:

  • param1 A string indicating the death type animation to use.
SetActivationState (param1)
(501) SetActivationState

Parameters:

  • param1 An integer
IsInActiveState ()
(502) IsInActiveState

Returns:

    A boolean value
IsEnabledForScriptEvents ()
(503) IsEnabledForScriptEvents

Returns:

    A boolean value
SetLockedState (param1)
(504) SetLockedState

Parameters:

  • param1 A boolean value
Vtable505ActorCallsWorldForSomething ()
(505) Vtable505ActorCallsWorldForSomething
GetRandomSpeechIDString ()
(506) GetRandomSpeechIDString

Returns:

    A string
GetClickSpeechIDString ()
(507) GetClickSpeechIDString

Returns:

    A string
SetRandomSpeechIDString (param1)
(508) SetRandomSpeechIDString

Parameters:

  • param1 A string
SetClickSpeechIDString (param1)
(509) SetClickSpeechIDString

Parameters:

  • param1 A string
ActOnControllerCommand (commandstruct)
(510) ActOnControllerCommand

Parameters:

  • commandstruct A ControllerCommandStruct table.

Returns:

    None.
Vtable511ActorVehicle ()
(511) Vtable511ActorVehicle

Returns:

    A boolean value
SetHavingTurn (param1)
(512) SetHavingTurn

Parameters:

  • param1 A boolean value
IsHavingTurn ()
(513) IsHavingTurn

Returns:

    A boolean value
SetOverwatch (param1)
(514) SetOverwatch

Parameters:

  • param1 A boolean value
IsOverwatch ()
(515) IsOverwatch

Returns:

    A boolean value
ResetBonusAC ()
(516) ResetBonusAC
SetBonusACForHTHEvade ()
(517) SetBonusACForHTHEvade
GetUnk23 ()
(518) GetUnk23

Returns:

    An integer
Vtable519EntityESSRelated (param1)
(519) Vtable519EntityESSRelated

Parameters:

  • param1 An integer

Returns:

    A boolean value
DoSomethingWithHP (param1)
(520) DoSomethingWithHP

Parameters:

  • param1 An integer

Returns:

    A boolean value
Vtable521ALLSomethingWithAllFields ()
(521) Vtable521ALLSomethingWithAllFields is BROKEN. Do not use.
Vtable522EntityDunno (param1)
(522) Vtable522EntityDunno

Parameters:

  • param1 A string
GetClassType ()
(523) GetClassType is BROKEN. Do not use.
ResetAndOrDestruct (param1)
(524) ResetAndOrDestruct

Parameters:

  • param1 An integer
IsSomethingMDCRelated ()
(525) IsSomethingMDCRelated

Returns:

    A boolean value
ActorPostureRelated ()
(526) ActorPostureRelated is BROKEN. Do not use. Actor only.
RenderUnconscious ()
(527) RenderUnconscious is BROKEN. Do not use. Actor only.
Vtable528NoOp (param1, param2)
(528) Vtable528NoOp Actor only.

Parameters:

  • param1 An integer
  • param2 An integer

Returns:

    A floating-point value
AdjustRadLevelFromRadPoints ()
(529) AdjustRadLevelFromRadPoints Actor only.
ApplyRadLevelPenalties (param1)
(530) ApplyRadLevelPenalties Actor only.

Parameters:

  • param1 An integer
UndoExistingRadLevelPenalties ()
(531) UndoExistingRadLevelPenalties Actor only.
PoisonEntity2 (param1, param2)
(532) PoisonEntity2 Actor only.

Parameters:

  • param1 A floating-point value
  • param2 A boolean value
ApplyPoisonDamage ()
(533) ApplyPoisonDamage Actor only.
ApplyOverdoseDamage ()
(534) ApplyOverdoseDamage Actor only.
ContestedSkillRollMaybe (param1, param2)
(535) ContestedSkillRollMaybe Actor only.

Parameters:

  • param1 An integer
  • param2 An integer

Returns:

    An integer

Types

Vector3
A floating-point array holding XYZ location information.

Fields:

  • x X coordinate.
  • y Y coordinate.
  • z Z coordinate..
RGBColor
A floating-point array holding RGB color information.

Fields:

  • x X coordinate.
  • y Y coordinate.
  • z Z coordinate..
InventoryActionResult
A table indicating the result of an inventory action.

Fields:

  • status An integer indicating the result of the action. Generally uses zero value to mean success, and non-zero for some kind of failure.
  • unk_entity_1 An entity object. Typically the target object of the action.
  • unk2 An unknown integer field.
  • unk3 An unknown integer field.
  • errstring A string containing a locale string identifier for a message to give to the player, indicating why the action failed.
  • unk_entity4 An entity object. Use is still unknown.
  • unk_5 An unknown integer field.
ZoneDefinition
A table describing a zone within the current level.

Fields:

  • bound_top A Vector3 indicating the top corner of the zone.
  • bound_bottom A Vector3 indicating the bottom corner of the zone.
  • zonecolor An RGBColor indicating the color of the zone in the FT Tools editor.
  • zonename A string indicating the name of the zone.
  • soundzone A boolean value indicating if the zone is a sound zone.
  • unk An unknown boolean value.
ChanceToHit
A table used when determining ability to hit a target with a weapon.

Fields:

  • hit_chance An integer indicating capped chance to hit. Seems unused by vtable functions.
  • raw_chance An integer indicating uncapped chance to hit. Seems unused by vtable functions.
  • ineligible_flags An integer indicating reasons why a shot is not possible. Zero if shot is clear, non-zero if blocked or out of range.
  • unk2 An unknown integer value.
CombatMessage
A table used by the game when evaluating results of combat actions.

Fields:

  • attacker An Entity for the attacker in the combat action.
  • target An Entity for the target in the combat action.
  • weapon An Entity for the weapon used in the combat action.
  • unk1 An unknown integer field.
  • attacker_pos A Vector3 position for the attacker.
  • target_pos A Vector3 position for the target.
  • damage An integer indicating damage done to the target.
  • critflags An integer containing bitwise flags indicating which type(s) of critical hits were made.
  • unk3 An unknown integer field.
  • unk4 An unknown integer field.
  • aimedlocation An integer indicating location aimed at. Zero is unaimed, values 1-8 are corresponding body parts.
  • numshots An integer indicating the number of shots fired for the given target.
  • unk5 An unknown integer field.
ActorStatus
A table indicating the fields from the ActorStatus section of the Actor.

Fields:

  • hp An integer value indicating current HP for the Actor.
  • bandaged An integer value indicating number of times the Actor was treated with First Aid recently.
  • ap A floating-point value indicating the Actor's remaining action points.
  • radpoints An integer value indicating the Actor's current radiation points.
  • radlevel An integer value indicating the Actor's current radiation effect level.
  • poisonpoints An integer value indicating the Actor's current outstanding poison damage.
  • poisonlevel An integer value indicating the Actor's poison level value (not sure?).
  • overdosepoints An integer value indicating the Actor's current chem overdose points.
  • goneuplevel A boolean value indicating if the Actor has a pending level increase.
AttributesTable
A table indicating one or more attributes (stats, traits, skills, perks, etc.).

Fields:

  • various Members of the AttributesTable object are comprised of the name of an attribute (any of the stats, skills, etc.), with a value indicating the value of that attribute.
AnimOffset
A table used in animation of an Actor. Appears to be used to offset the origin point of a weapon attack relative to the Actor's Vector3 position.

Fields:

  • x An integer value giving the X axis offset.
  • y An integer value giving the Y axis offset.
  • z An integer value giving the Z axis offset.
generated by LDoc 1.4.6 Last updated 2024-08-15 12:18:22